{
  "info": {
    "_postman_id": "e8a3e4e2-0b46-4b55-ae7c-spay4-bo-api",
    "name": "SPay4 BO API",
    "description": "由 docs/spay4/tools/generate-postman-collection.mjs 從 spay4-bo controller 產生。Mutation 僅供手動逐筆執行；不得儲存一次性 credential 或任何 secret。",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "item": [
    {
      "name": "Agent",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/agents/me — 取得目前 Prefix 的 Agent",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/agents/me",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "agents",
                    "me"
                  ],
                  "query": []
                },
                "description": "PREFIX 僅取得 own-Agent projection；不回傳任何 credential plaintext。\n\nCredentialMetadata 另帶 nullable creator／modifier（#548）：首次輪替與最近一次輪替的操作者帳號，取自 credential reference；#548 前建立者為 null。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/agent/controller/AgentController.java\n\nPolicy：AGENT_MANAGEMENT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。\n\nA1/A2 contract：currencyCode；creator、createTime、modifier、modifyTime：verified actor account snapshot 與 UTC LocalDateTime；未知歷史為 null，不回補。管理 API 保留既有 raw VO/PageVo，沒有新增 ResponseVo 包裝。 Prefix 仍需 AGENT_MANAGEMENT:VIEW grant。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/agents/list — 取得可見的啟用 Agent 清單",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/agents/list",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "agents",
                    "list"
                  ],
                  "query": []
                },
                "description": "固定依 Agent id ASC；PREFIX 僅能取得 own-Agent。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/agent/controller/AgentController.java\n\nPolicy：AGENT_MANAGEMENT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。\n\nA1/A2 contract：status、currencyId、currencyCode；creator、createTime、modifier、modifyTime：verified actor account snapshot 與 UTC LocalDateTime；未知歷史為 null，不回補。管理 API 保留既有 raw VO/PageVo，沒有新增 ResponseVo 包裝。 僅 Superadmin，不授權 Prefix list。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/agents/options — 取得可見的啟用 Agent 選項",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/agents/options",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "agents",
                    "options"
                  ],
                  "query": []
                },
                "description": "需登入（AUTH_MENU_BOOTSTRAP:VIEW，不需 AGENT_MANAGEMENT:VIEW grant）；SUPERADMIN 全部、PREFIX 只回自己的 ACTIVE Agent（0 或 1 筆，#1019）、SUPPLIER（Admin／User）與 GATEWAY 只取得自身 Gateway 上啟用且 ACTIVE allocation、owner 鏈 ACTIVE、幣別相符的 Agent（offset 可不同，ADR-0449）；固定依 Agent id ASC，且只回傳 identity 與 Prefix display。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/agent/controller/AgentController.java\n\nPolicy：AUTH_MENU_BOOTSTRAP:VIEW（登入後免 resource-action grant）\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/agents/page — 分頁查詢可見 Agent",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/agents/page",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "agents",
                    "page"
                  ],
                  "query": [
                    {
                      "key": "prefix",
                      "value": "{{prefix}}",
                      "disabled": true
                    },
                    {
                      "key": "currencyId",
                      "value": "{{currencyId}}",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "{{status}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "pageNumber 為 zero-based，預設 0；pageSize 預設 20 且限制 1..500。排序固定為 id ASC。每列帶 externalOrderApiCredential 與 lineCredentials（與 detail 相同）：credentialVersion 即 PUT credentials/externalOrderApi 與 credentials/line/{notificationProviderSourceId} 的 expectedVersion；只有尚未配置的 credential 才以 expectedVersion null 首次建立，既有但非 ACTIVE／CURRENT 的 reference 也不列出且 rotation 一律 409。\n\nCredentialMetadata 另帶 nullable creator／modifier（#548）：首次輪替與最近一次輪替的操作者帳號，取自 credential reference；#548 前建立者為 null。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/agent/controller/AgentController.java\n\nPolicy：AGENT_MANAGEMENT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。\n\nA1/A2 contract：status、currencyId、currencyCode；creator、createTime、modifier、modifyTime：verified actor account snapshot 與 UTC LocalDateTime；未知歷史為 null，不回補。管理 API 保留既有 raw VO/PageVo，沒有新增 ResponseVo 包裝。 Superadmin 全域，排序及分頁不變。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/agents/{agentId} — 取得 Agent 基本與安全設定投影",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/agents/{{agentId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "agents",
                    "{{agentId}}"
                  ],
                  "query": []
                },
                "description": "PREFIX 僅能讀取 own-Agent；credential 僅回安全遮罩 metadata。\n\nCredentialMetadata 另帶 nullable creator／modifier（#548）：首次輪替與最近一次輪替的操作者帳號，取自 credential reference；#548 前建立者為 null。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/agent/controller/AgentController.java\n\nPolicy：AGENT_MANAGEMENT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。\n\nA1/A2 contract：currencyCode；creator、createTime、modifier、modifyTime：verified actor account snapshot 與 UTC LocalDateTime；未知歷史為 null，不回補。管理 API 保留既有 raw VO/PageVo，沒有新增 ResponseVo 包裝。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/agents/{agentId}/credentials/line — 取得 LINE credential metadata",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/agents/{{agentId}}/credentials/line",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "agents",
                    "{{agentId}}",
                    "credentials",
                    "line"
                  ],
                  "query": []
                },
                "description": "僅回傳 source display、遮罩 key、fingerprint、version 與 rotation metadata。\n\nCredentialMetadata 另帶 nullable creator／modifier（#548）：首次輪替與最近一次輪替的操作者帳號，取自 credential reference；#548 前建立者為 null。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/agent/controller/AgentController.java\n\nPolicy：AGENT_MANAGEMENT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/agents — 建立 Prefix Agent",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/agents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "agents"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；建立 Agent、read-only role、administrator user，且 password/TOTP 僅本次回傳。optional callbackUrl 只接受 absolute http 或 https（公開或內網位址皆可）、最長 500 字元，否則 400 invalid callbackUrl。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/agent/controller/AgentController.java\n\nPolicy：AGENT_MANAGEMENT:INSERT\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"prefix\": \"{{prefix}}\",\n  \"currencyId\": {{currencyId}},\n  \"businessUtcOffset\": \"{{businessUtcOffset}}\",\n  \"callbackUrl\": \"{{callbackUrl}}\",\n  \"bankIds\": [{{bankIdsItem}}]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/agents/{agentId}/status — 切換 Agent 狀態",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/agents/{{agentId}}/status",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "agents",
                    "{{agentId}}",
                    "status"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；實際變更時會原子撤銷該 Agent 所有 BO user session epoch。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/agent/controller/AgentController.java\n\nPolicy：AGENT_MANAGEMENT:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"status\": \"{{status}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/agents/{agentId}/callback-url — 更新 Agent callback URL",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/agents/{{agentId}}/callback-url",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "agents",
                    "{{agentId}}",
                    "callback-url"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；只改 runtime callback URL，不改 immutable Agent identity。callbackUrl 只接受 absolute http 或 https（公開或內網位址皆可）、最長 500 字元，否則 400 invalid callbackUrl；null 表示清除。選填 agentAccountCallbackUrl 是 AGENT_ACCOUNT 單（SPAY2 相容格式）的 callback URL，規則相同、不合格回 400 invalid agentAccountCallbackUrl；省略表示不變、null 表示清除。任一欄不合格整筆拒絕、兩欄都不寫入；兩欄都沒變不寫 audit，有變只寫一筆 UPDATE_AGENT_CALLBACK_URL。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/agent/controller/AgentController.java\n\nPolicy：AGENT_MANAGEMENT:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"callbackUrl\": \"{{callbackUrl}}\",\n  \"agentAccountCallbackUrl\": \"{{agentAccountCallbackUrl}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/agents/{agentId}/banks — 完整取代 Agent 可用 Bank",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/agents/{{agentId}}/banks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "agents",
                    "{{agentId}}",
                    "banks"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；拒絕 duplicate、非 ACTIVE 或 Currency 不相符 Bank。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/agent/controller/AgentController.java\n\nPolicy：AGENT_MANAGEMENT:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"bankIds\": [{{bankIdsItem}}]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/agents/{agentId}/credentials/externalOrderApi — 輪替外部訂單 API credential",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/agents/{{agentId}}/credentials/externalOrderApi",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "agents",
                    "{{agentId}}",
                    "credentials",
                    "externalOrderApi"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；完整 API key/secret 僅本次回傳，舊值立即失效。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/agent/controller/AgentController.java\n\nPolicy：AGENT_MANAGEMENT:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/agents/{agentId}/credentials/line/{notificationProviderSourceId} — 輪替 LINE provider credential",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/agents/{{agentId}}/credentials/line/{{notificationProviderSourceId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "agents",
                    "{{agentId}}",
                    "credentials",
                    "line",
                    "{{notificationProviderSourceId}}"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；只接受 active LINE_WEBHOOK provider source，完整 credential 僅本次回傳。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/agent/controller/AgentController.java\n\nPolicy：AGENT_MANAGEMENT:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "DomainAuditLog",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/domainAudit/page — 分頁查詢 Domain Audit",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/domainAudit/page",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "domainAudit",
                    "page"
                  ],
                  "query": [
                    {
                      "key": "actionType",
                      "value": "{{actionType}}",
                      "disabled": true
                    },
                    {
                      "key": "actorType",
                      "value": "{{actorType}}",
                      "disabled": true
                    },
                    {
                      "key": "actorId",
                      "value": "{{actorId}}",
                      "disabled": true
                    },
                    {
                      "key": "actorAccount",
                      "value": "{{actorAccount}}",
                      "disabled": true
                    },
                    {
                      "key": "targetType",
                      "value": "{{targetType}}",
                      "disabled": true
                    },
                    {
                      "key": "targetId",
                      "value": "{{targetId}}",
                      "disabled": true
                    },
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    },
                    {
                      "key": "supplierId",
                      "value": "{{supplierId}}",
                      "disabled": true
                    },
                    {
                      "key": "gatewayId",
                      "value": "{{gatewayId}}",
                      "disabled": true
                    },
                    {
                      "key": "riskLevel",
                      "value": "{{riskLevel}}",
                      "disabled": true
                    },
                    {
                      "key": "traceId",
                      "value": "{{traceId}}",
                      "disabled": true
                    },
                    {
                      "key": "orderNo",
                      "value": "{{orderNo}}",
                      "disabled": true
                    },
                    {
                      "key": "from",
                      "value": "{{from}}",
                      "disabled": true
                    },
                    {
                      "key": "to",
                      "value": "{{to}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "固定 createTime DESC、id DESC；所有 supplied filter 僅能縮小 authenticated actor 的 server-derived scope，列表不回傳 JSON 摘要或 semantic effects。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/audit/controller/DomainAuditLogController.java\n\nPolicy：DOMAIN_AUDIT_LOG:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/domainAudit/export — 匯出 Domain Audit CSV",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/domainAudit/export",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "domainAudit",
                    "export"
                  ],
                  "query": [
                    {
                      "key": "actionType",
                      "value": "{{actionType}}",
                      "disabled": true
                    },
                    {
                      "key": "actorType",
                      "value": "{{actorType}}",
                      "disabled": true
                    },
                    {
                      "key": "actorId",
                      "value": "{{actorId}}",
                      "disabled": true
                    },
                    {
                      "key": "actorAccount",
                      "value": "{{actorAccount}}",
                      "disabled": true
                    },
                    {
                      "key": "targetType",
                      "value": "{{targetType}}",
                      "disabled": true
                    },
                    {
                      "key": "targetId",
                      "value": "{{targetId}}",
                      "disabled": true
                    },
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    },
                    {
                      "key": "supplierId",
                      "value": "{{supplierId}}",
                      "disabled": true
                    },
                    {
                      "key": "gatewayId",
                      "value": "{{gatewayId}}",
                      "disabled": true
                    },
                    {
                      "key": "riskLevel",
                      "value": "{{riskLevel}}",
                      "disabled": true
                    },
                    {
                      "key": "traceId",
                      "value": "{{traceId}}",
                      "disabled": true
                    },
                    {
                      "key": "orderNo",
                      "value": "{{orderNo}}",
                      "disabled": true
                    },
                    {
                      "key": "from",
                      "value": "{{from}}",
                      "disabled": true
                    },
                    {
                      "key": "to",
                      "value": "{{to}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "共用 page 的 scope／filters／列表 projection／排序並匯出全部符合列，不含 before／after JSON 或 semantic effects；formula escape，UTF-8 without BOM，EXPORT_DOMAIN_AUDIT_LOG Audit 先寫入。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/audit/controller/DomainAuditLogController.java\n\nPolicy：DOMAIN_AUDIT_LOG:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/domainAudit/{id} — 取得 Domain Audit detail",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/domainAudit/{{id}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "domainAudit",
                    "{{id}}"
                  ],
                  "query": []
                },
                "description": "跨 scope 與不存在 id 都回 not-found，JSON 摘要會解析為結構化 response。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/audit/controller/DomainAuditLogController.java\n\nPolicy：DOMAIN_AUDIT_LOG:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/domainAudit/actions — 取得 Domain Audit action options",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/domainAudit/actions",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "domainAudit",
                    "actions"
                  ],
                  "query": []
                },
                "description": "依穩定 enum 宣告順序回傳 code 與繁體中文說明。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/audit/controller/DomainAuditLogController.java\n\nPolicy：DOMAIN_AUDIT_LOG:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Access Role",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/access/roles — 分頁查詢 Access Role",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/access/roles",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "access",
                    "roles"
                  ],
                  "query": [
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    },
                    {
                      "key": "name",
                      "value": "{{name}}",
                      "disabled": true
                    },
                    {
                      "key": "statuses",
                      "value": "{{statuses}}",
                      "disabled": true,
                      "description": "可重複加入同名 query parameter。"
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "僅 SUPERADMIN；固定依 agentId、name、id 排序；pageNumber 為 zero-based，預設 0；pageSize 預設 20 且限制 1..500。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AccessRoleController.java\n\nPolicy：ACCESS_ROLE_MANAGEMENT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。\n\nA1/A2 contract：creator、createTime、modifier、modifyTime：verified actor account snapshot 與 UTC LocalDateTime；未知歷史為 null，不回補。管理 API 保留既有 raw VO/PageVo，沒有新增 ResponseVo 包裝。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/access/roles/options — 取得可指派 Role 選項",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/access/roles/options",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "access",
                    "roles",
                    "options"
                  ],
                  "query": [
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "登入即可（AUTH_MENU_BOOTSTRAP:VIEW）；Superadmin 另過 fresh guard，不通過 403；Prefix、Supplier、Gateway 一律空陣列。只回 ACTIVE Role，排除 isAdmin=false 的 system Role，不依 Agent 狀態過濾；固定依 agentId（system 在前）、name、id 排序；raw root 完整陣列，不分頁。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AccessRoleController.java\n\nPolicy：AUTH_MENU_BOOTSTRAP:VIEW（登入後免 resource-action grant）\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/access/role-assignments — 分頁查詢使用者角色指派",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/access/role-assignments",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "access",
                    "role-assignments"
                  ],
                  "query": [
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    },
                    {
                      "key": "account",
                      "value": "{{account}}",
                      "disabled": true
                    },
                    {
                      "key": "statuses",
                      "value": "{{statuses}}",
                      "disabled": true,
                      "description": "可重複加入同名 query parameter。"
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "僅 SUPERADMIN；只回傳角色指派所需的 User/Role display projection，不暴露 credential、TOTP、session 或 password；pageNumber 為 zero-based，預設 0；pageSize 預設 20 且限制 1..500。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AccessRoleController.java\n\nPolicy：ACCESS_ROLE_MANAGEMENT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/access/roles/{roleId} — 取得 Access Role detail",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/access/roles/{{roleId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "access",
                    "roles",
                    "{{roleId}}"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；回傳 immutable owner/admin attributes、version 與 canonical grants。\n\ngrants[]（RoleGrant）另帶 nullable creator／modifier（#548）：grant 建立者與最近實際改變該 grant actions 或啟停的帳號；actions 不變的 grant、no-op update 與 Role rename／status／delete 不改 modifier；#548 前建立者為 null。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AccessRoleController.java\n\nPolicy：ACCESS_ROLE_MANAGEMENT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。\n\nA1/A2 contract：creator、createTime、modifier、modifyTime：verified actor account snapshot 與 UTC LocalDateTime；未知歷史為 null，不回補。管理 API 保留既有 raw VO/PageVo，沒有新增 ResponseVo 包裝。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/access/permission-resources — 取得可指派 permission resource",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/access/permission-resources",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "access",
                    "permission-resources"
                  ],
                  "query": []
                },
                "description": "僅回傳 B/F/R-ready 且 ACTIVE 的 system_method；此清單不是 menu authorization；prefixAllowedActions 為 Agent Role 可授予的上限。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AccessRoleController.java\n\nPolicy：ACCESS_ROLE_MANAGEMENT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/access/roles — 建立 Access Role",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/access/roles",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "access",
                    "roles"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；Role owner 與 isAdmin 僅可在建立時設定，並寫入 domain audit；Agent Role 的 grant 超過 Prefix 上限時整筆 400。\n\ngrants[]（RoleGrant）另帶 nullable creator／modifier（#548）：grant 建立者與最近實際改變該 grant actions 或啟停的帳號；actions 不變的 grant、no-op update 與 Role rename／status／delete 不改 modifier；#548 前建立者為 null。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AccessRoleController.java\n\nPolicy：ACCESS_ROLE_MANAGEMENT:INSERT\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"agentId\": {{agentId}},\n  \"name\": \"{{name}}\",\n  \"isAdmin\": {{isAdmin}},\n  \"grants\": [{\"methodCode\": \"{{grantsItemMethodCode}}\", \"actions\": [\"{{grantsItemActionsItem}}\"]}]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/access/roles/{roleId} — 更新 Access Role 名稱與 grants",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/access/roles/{{roleId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "access",
                    "roles",
                    "{{roleId}}"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；grants 為全量取代，實際 grant 變更會撤銷所有引用 User session epoch；Agent Role 的 grant 超過 Prefix 上限時整筆 400，已存的無效 grant 須先移除。\n\ngrants[]（RoleGrant）另帶 nullable creator／modifier（#548）：grant 建立者與最近實際改變該 grant actions 或啟停的帳號；actions 不變的 grant、no-op update 與 Role rename／status／delete 不改 modifier；#548 前建立者為 null。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AccessRoleController.java\n\nPolicy：ACCESS_ROLE_MANAGEMENT:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"{{name}}\",\n  \"grants\": [{\"methodCode\": \"{{grantsItemMethodCode}}\", \"actions\": [\"{{grantsItemActionsItem}}\"]}],\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/access/role-assignments/{userId} — 更新使用者角色指派",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/access/role-assignments/{{userId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "access",
                    "role-assignments",
                    "{{userId}}"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；User 與 target Role 必須同為 ACTIVE 且 owner Agent scope 完全一致；system User（agentId 為 null）的 target Role 必須 isAdmin=true，否則 400／40005，此檢查先於版本驗證與相同 Role no-op。成功時以 User version optimistic lock 更新 role，並撤銷 target User 全部 session；相同 Role 為無副作用 no-op。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AccessRoleController.java\n\nPolicy：ACCESS_ROLE_MANAGEMENT:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"roleId\": {{roleId}},\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/access/roles/{roleId}/status — 切換 Access Role status",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/access/roles/{{roleId}}/status",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "access",
                    "roles",
                    "{{roleId}}",
                    "status"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；ACTIVE 到 INACTIVE 會原子撤銷引用 User session，same-state request 無副作用。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AccessRoleController.java\n\nPolicy：ACCESS_ROLE_MANAGEMENT:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"status\": \"{{status}}\",\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "DELETE /bo/v2/access/roles/{roleId} — 軟刪除 Access Role",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/access/roles/{{roleId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "access",
                    "roles",
                    "{{roleId}}"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；JSON body 需提供 optimistic-lock version（缺少、null 或過期回 409 RESOURCE_VERSION_CONFLICT），拒絕 admin Role 或仍被 User 引用的 Role；成功只將 Role status 設為 DELETED 並寫入 domain audit。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AccessRoleController.java\n\nPolicy：ACCESS_ROLE_MANAGEMENT:DELETE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Access User",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/access/users — 分頁查詢 Access User",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/access/users",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "access",
                    "users"
                  ],
                  "query": [
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    },
                    {
                      "key": "account",
                      "value": "{{account}}",
                      "disabled": true
                    },
                    {
                      "key": "name",
                      "value": "{{name}}",
                      "disabled": true
                    },
                    {
                      "key": "roleName",
                      "value": "{{roleName}}",
                      "disabled": true
                    },
                    {
                      "key": "statuses",
                      "value": "{{statuses}}",
                      "disabled": true,
                      "description": "可重複加入同名 query parameter。"
                    },
                    {
                      "key": "lastLoginIp",
                      "value": "{{lastLoginIp}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "僅 SUPERADMIN；固定依 agentId、account、id 排序，只回傳安全 profile/Role projection；pageNumber 為 zero-based，預設 0；pageSize 預設 20 且限制 1..500。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AccessUserController.java\n\nPolicy：ACCESS_USER_MANAGEMENT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。\n\nA1/A2 contract：creator、createTime、modifier、modifyTime：verified actor account snapshot 與 UTC LocalDateTime；未知歷史為 null，不回補。管理 API 保留既有 raw VO/PageVo，沒有新增 ResponseVo 包裝。 nullable lastLoginIp；filter 為 trim 後最多45字元 literal contains，escape wildcards、空白忽略、不支援 CIDR。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/access/users/{userId} — 取得 Access User detail",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/access/users/{{userId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "access",
                    "users",
                    "{{userId}}"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；回傳後續 mutation 所需安全 profile、Role 與 version，不含 credential 或 session state。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AccessUserController.java\n\nPolicy：ACCESS_USER_MANAGEMENT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。\n\nA1/A2 contract：creator、createTime、modifier、modifyTime：verified actor account snapshot 與 UTC LocalDateTime；未知歷史為 null，不回補。管理 API 保留既有 raw VO/PageVo，沒有新增 ResponseVo 包裝。 nullable lastLoginIp；來源未知或從未登入為 null。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/access/users — 建立 Access User",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/access/users",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "access",
                    "users"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；後端產生並加密保存 TOTP secret，僅此一次回傳 Base32 setup secret，不提供 QR code。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AccessUserController.java\n\nPolicy：ACCESS_USER_MANAGEMENT:INSERT\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"agentId\": {{agentId}},\n  \"account\": \"{{account}}\",\n  \"name\": \"{{name}}\",\n  \"description\": \"{{description}}\",\n  \"roleId\": {{roleId}},\n  \"password\": \"{{password}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/access/users/{userId} — 更新 Access User profile 與 Role",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/access/users/{{userId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "access",
                    "users",
                    "{{userId}}"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；account 與 owner 不可變，實際 Role 改綁會撤銷目標全部 session。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AccessUserController.java\n\nPolicy：ACCESS_USER_MANAGEMENT:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"{{name}}\",\n  \"description\": \"{{description}}\",\n  \"roleId\": {{roleId}},\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/access/users/{userId}/status — 切換 Access User status",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/access/users/{{userId}}/status",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "access",
                    "users",
                    "{{userId}}",
                    "status"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；不可停用自己（400 FIELD_VALIDATE_FAILED，先於版本檢查）；停用 system User 時鎖 actor 與 target 並重驗 actor，互相停用的輸家回 403 NO_PERMISSION；實際狀態變更會撤銷目標全部 session，same-state request 無副作用。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AccessUserController.java\n\nPolicy：ACCESS_USER_MANAGEMENT:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"status\": \"{{status}}\",\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "DELETE /bo/v2/access/users/{userId} — 軟刪除 Access User",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/access/users/{{userId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "access",
                    "users",
                    "{{userId}}"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；JSON body 需提供 optimistic-lock version（缺少、null 或過期回 409 RESOURCE_VERSION_CONFLICT），拒絕 admin Role User，成功後不可還原或再修改，並撤銷 session。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AccessUserController.java\n\nPolicy：ACCESS_USER_MANAGEMENT:DELETE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "POST /bo/v2/access/users/{userId}/totp/reset — 重設 Access User TOTP",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/access/users/{{userId}}/totp/reset",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "access",
                    "users",
                    "{{userId}}",
                    "totp",
                    "reset"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；可重設 Prefix User 與其他 Superadmin，不可重設本人。JSON body 需提供 optimistic-lock version（缺少、null 或過期回 409 RESOURCE_VERSION_CONFLICT）；inactive target 仍可重設且狀態不變。成功後覆蓋舊 secret、清除防重放與失敗鎖定、撤銷 target 全部 session，不改 password，且只在本次 response 交付新 Base32 setup secret。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AccessUserController.java\n\nPolicy：ACCESS_USER_MANAGEMENT:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "Authentication",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/menu — 取得目前 principal 的選單",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/menu",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "menu"
                  ],
                  "query": []
                },
                "description": "登入即可（AUTH_MENU_BOOTSTRAP:VIEW，不經 role grant）；每次從 fresh server-side authorization 或 fixed Supply profile 重新解析，選單不是授權。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AuthController.java\n\nPolicy：AUTH_MENU_BOOTSTRAP:VIEW（登入後免 resource-action grant）\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "GET /bo/v2/auth/me — 取得目前 principal 本人資料",
              "request": {
                "method": "GET",
                "header": [],
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                },
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/auth/me",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "auth",
                    "me"
                  ],
                  "query": []
                },
                "description": "僅四種有效 formal principal；AUTH_MENU_BOOTSTRAP:VIEW 免 grant，fresh-check principal/owner chain/epoch。HTTP 200 單層 ResponseVo<PrincipalSelfVo>、Cache-Control:no-store。無 selector/body contract、未知 query 回400。version 取本人 UserPrincipal/SupplyAccount，不取 owner version 或 sessionEpoch。login → me → 手動以 version 改密碼；409 reload 後由使用者重確認，不自動 retry、不儲存 credential、不鏈結 mutation。詳見 ../concepts/bo-ui-foundation-contract.md。"
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /public/v2/login — 統一驗證 BO principal",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/public/v2/login",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "public",
                    "v2",
                    "login"
                  ],
                  "query": []
                },
                "description": "loginType 只接受 PREFIX／SUPPLIER／GATEWAY，直送 SUPERADMIN 回 HTTP 400／40005；Superadmin 以 loginType=PREFIX、agentPrefix=SUPERADMIN（不分大小寫）登入。所有共用欄位與各 principal 的 scope 欄位必須完整；結構錯誤回 HTTP 400／40005，認證失敗一律回 HTTP 401。password 與六位 TOTP 驗證成功後簽發 formal JWT；僅 ADR-0471 前寫入、must_change_password=true 的既有 Supply 帳號回 PASSWORD_CHANGE_REQUIRED 與一次性 continuation token，不簽發 formal JWT。簽發 formal session 寫 LOW audit LOGIN_AUTH_PRINCIPAL，密碼或 TOTP 驗證失敗寫 MEDIUM audit REJECT_LOGIN_AUTH_PRINCIPAL；其他失敗只留 WARN log；audit 寫入失敗整筆 rollback，仍回 HTTP 401。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AuthController.java\n\nPublic route\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。\n\nA1/A2 IP：IP 僅由 server socket/trusted CIDR/XFF 解析；LoginRequest 不收 IP，JWT/LoginResponse 不增欄位。僅 BO 成功 formal login 保存；未知來源清除舊 IP，失敗不覆寫。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"loginType\": \"{{loginType}}\",\n  \"account\": \"{{account}}\",\n  \"password\": \"{{password}}\",\n  \"gaCode\": \"{{gaCode}}\",\n  \"agentPrefix\": \"{{agentPrefix}}\",\n  \"supplierLoginId\": \"{{supplierLoginId}}\",\n  \"gatewayCode\": \"{{gatewayCode}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "noauth"
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const response = pm.response.json();",
                      "if (response?.data?.token) {",
                      "  pm.environment.set('bearerToken', response.data.token);",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "POST /public/v2/password/change — 完成 Supply temporary password 變更",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/public/v2/password/change",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "public",
                    "v2",
                    "password",
                    "change"
                  ],
                  "query": []
                },
                "description": "消耗一次性 password-change token，成功後才發行 formal session。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AuthController.java\n\nPublic route\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"passwordChangeToken\": \"{{passwordChangeToken}}\",\n  \"account\": \"{{account}}\",\n  \"currentPassword\": \"{{currentPassword}}\",\n  \"newPassword\": \"{{newPassword}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "noauth"
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "POST /bo/v2/auth/logout — 登出目前 principal",
              "request": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/auth/logout",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "auth",
                    "logout"
                  ],
                  "query": []
                },
                "description": "登入即可（AUTH_MENU_BOOTSTRAP:VIEW，不經 role grant），適用 Superadmin／Prefix／Supplier／Gateway；無 request body。依 ADR-0094 principal-level revoke-all：session epoch 原子 +1，同 principal 所有裝置的 formal token 之後皆 401，需重新登入。成功寫一筆 LOW audit；併發重送於鎖後發現已撤銷時回 204 且不寫 audit。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AuthController.java\n\nPolicy：AUTH_MENU_BOOTSTRAP:VIEW（登入後免 resource-action grant）\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "PUT /bo/v2/auth/principals/{principalType}/{principalId}/unlock — 解除 principal 登入鎖定",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/auth/principals/{{principalType}}/{{principalId}}/unlock",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "auth",
                    "principals",
                    "{{principalType}}",
                    "{{principalId}}",
                    "unlock"
                  ],
                  "query": []
                },
                "description": "僅 active System Admin 可執行；實際 mutation 會撤銷 target formal session 並寫入 audit。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AuthController.java\n\nPolicy：AUTH_PRINCIPAL_UNLOCK:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "PUT /bo/v2/auth/password — 變更目前登入 principal 的密碼",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/auth/password",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "auth",
                    "password"
                  ],
                  "query": []
                },
                "description": "僅由 authenticated principal 決定 target；成功後撤銷所有 formal session，且不簽發 replacement JWT。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AuthPasswordController.java\n\nPolicy：RESET_PASSWORD:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"currentPassword\": \"{{currentPassword}}\",\n  \"newPassword\": \"{{newPassword}}\",\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "POST /bo/v2/auth/users/{userId}/password/reset — 強制重設 BO User 密碼",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/auth/users/{{userId}}/password/reset",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "auth",
                    "users",
                    "{{userId}}",
                    "password",
                    "reset"
                  ],
                  "query": []
                },
                "description": "僅 Superadmin 可操作；成功後撤銷目標 formal session，不會產生或回傳 temporary password。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AuthPasswordController.java\n\nPolicy：ACCESS_USER_MANAGEMENT:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"newPassword\": \"{{newPassword}}\",\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "POST /bo/v2/supplierAccounts/{accountId}/password/reset — 重設 Supplier account 的 temporary password",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplierAccounts/{{accountId}}/password/reset",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplierAccounts",
                    "{{accountId}}",
                    "password",
                    "reset"
                  ],
                  "query": []
                },
                "description": "Superadmin 或 Supplier Admin（只限 own Supplier 的 SUPPLIER_USER；Supplier User 回 403）可操作；成功後清除 lock 與 pending challenge、撤銷 session，且僅本次回傳 temporary password；不輪替 TOTP，GA 由 totp/reset 另行重設。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AuthPasswordController.java\n\nPolicy：SUPPLIER_ACCOUNT_LIST:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "POST /bo/v2/gatewayAccounts/{accountId}/password/reset — 重設 Gateway account 的 temporary password",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/gatewayAccounts/{{accountId}}/password/reset",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "gatewayAccounts",
                    "{{accountId}}",
                    "password",
                    "reset"
                  ],
                  "query": []
                },
                "description": "Superadmin、owning Supplier（Supplier Admin 與 Supplier User）或 Gateway Admin（只限 own Gateway 的 GATEWAY_USER：其他 admin 403、本人 400、跨 owner 404）可操作；成功後清除 lock 與 pending challenge、撤銷 session，且僅本次回傳 temporary password。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/auth/controller/AuthPasswordController.java\n\nPolicy：GATEWAY_ACCOUNT_LIST:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "Configuration",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/config/definitions — 查詢受管理設定定義",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/config/definitions",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "config",
                    "definitions"
                  ],
                  "query": []
                },
                "description": "回傳所有可管理設定的 key、繁體中文說明與 globalOnly（true 表示只能由 Superadmin 設定全域值，Prefix 不能覆寫）；登入即可（AUTH_MENU_BOOTSTRAP:VIEW，不需 SYSTEM_CONFIGURATION:VIEW grant），不回傳設定值或任何覆寫資訊。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/config/controller/ConfigController.java\n\nPolicy：AUTH_MENU_BOOTSTRAP:VIEW（登入後免 resource-action grant）\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/config — 分頁查詢有效設定",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/config",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "config"
                  ],
                  "query": [
                    {
                      "key": "key",
                      "value": "{{key}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "System Admin 查詢全域預設；具有效 Agent context 的非 System Admin 查詢自身有效值，未覆寫時回退全域預設。\n\n每筆 ConfigVo 另帶 nullable creator／modifier，與 value 同來源（同值 no-op 不改）：source=AGENT_OVERRIDE 時為該 override 的建立者與最近實際變更者帳號（#548）；SYSTEM_DEFAULT 時為全域設定的建立者與最近實際變更者帳號，未經 BO 改過的 seed 列為 SPAY4_DATA_SEED（#555）。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/config/controller/ConfigController.java\n\nPolicy：SYSTEM_CONFIGURATION:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "PUT /bo/v2/config/{key} — 建立或更新設定",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/config/{{key}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "config",
                    "{{key}}"
                  ],
                  "query": []
                },
                "description": "System Admin 寫入全域預設；具有效 Agent context 的非 System Admin 只寫入自身 Agent 覆寫，且覆寫 key 必須已有全域預設。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/config/controller/ConfigController.java\n\nPolicy：SYSTEM_CONFIGURATION:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"value\": \"{{value}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "DELETE /bo/v2/config/{key} — 刪除設定或覆寫",
              "request": {
                "method": "DELETE",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/config/{{key}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "config",
                    "{{key}}"
                  ],
                  "query": []
                },
                "description": "System Admin 只在沒有有效 Agent 覆寫時刪除全域預設；Agent 刪除自身覆寫後，讀取會回退全域預設。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/config/controller/ConfigController.java\n\nPolicy：SYSTEM_CONFIGURATION:DELETE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Bank",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/banks/page — 分頁查詢銀行",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/banks/page",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "banks",
                    "page"
                  ],
                  "query": [
                    {
                      "key": "currencyId",
                      "value": "{{currencyId}}",
                      "disabled": true
                    },
                    {
                      "key": "country",
                      "value": "{{country}}",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "{{status}}",
                      "disabled": true
                    },
                    {
                      "key": "code",
                      "value": "{{code}}",
                      "disabled": true
                    },
                    {
                      "key": "name",
                      "value": "{{name}}",
                      "disabled": true
                    },
                    {
                      "key": "localeName",
                      "value": "{{localeName}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "pageNumber 為 zero-based，預設 0；pageSize 預設 20 且限制 1..500。排序固定為 Bank code ASC。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/masterdata/controller/BankController.java\n\nPolicy：BANK_MANAGEMENT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/banks/options — 取得啟用銀行選項",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/banks/options",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "banks",
                    "options"
                  ],
                  "query": []
                },
                "description": "登入即可（AUTH_MENU_BOOTSTRAP:VIEW，不需 BANK_MANAGEMENT:VIEW grant）；只回傳 ACTIVE Bank 的安全 selector projection，固定依 code ASC。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/masterdata/controller/BankController.java\n\nPolicy：AUTH_MENU_BOOTSTRAP:VIEW（登入後免 resource-action grant）\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/banks/currency/{currencyId} — 依幣別取得銀行",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/banks/currency/{{currencyId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "banks",
                    "currency",
                    "{{currencyId}}"
                  ],
                  "query": []
                },
                "description": "沿用 legacy 行為，不因 Bank status 排除指定 Currency 的資料。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/masterdata/controller/BankController.java\n\nPolicy：BANK_MANAGEMENT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/banks — 建立銀行",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/banks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "banks"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；驗證 ACTIVE Currency 與 Bank code/codeId uniqueness 後建立 Bank。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/masterdata/controller/BankController.java\n\nPolicy：BANK_MANAGEMENT:INSERT\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"codeId\": {{codeId}},\n  \"currencyId\": {{currencyId}},\n  \"country\": \"{{country}}\",\n  \"code\": \"{{code}}\",\n  \"providerBankCode\": \"{{providerBankCode}}\",\n  \"name\": \"{{name}}\",\n  \"localeName\": \"{{localeName}}\",\n  \"keyword\": \"{{keyword}}\",\n  \"decimalFuzzing\": {{decimalFuzzing}},\n  \"amountCooldownTime\": {{amountCooldownTime}},\n  \"status\": \"{{status}}\",\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/banks/{bankId} — 更新銀行",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/banks/{{bankId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "banks",
                    "{{bankId}}"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；只更新 legacy 可編輯欄位，不可改寫 codeId、Currency、Country 或 Bank code。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/masterdata/controller/BankController.java\n\nPolicy：BANK_MANAGEMENT:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"{{name}}\",\n  \"localeName\": \"{{localeName}}\",\n  \"keyword\": \"{{keyword}}\",\n  \"decimalFuzzing\": {{decimalFuzzing}},\n  \"amountCooldownTime\": {{amountCooldownTime}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/banks/{bankId}/status — 切換銀行狀態",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/banks/{{bankId}}/status",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "banks",
                    "{{bankId}}",
                    "status"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；僅接受 ACTIVE 或 INACTIVE，且不修改既有 Agent-Bank 關聯。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/masterdata/controller/BankController.java\n\nPolicy：BANK_MANAGEMENT:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"status\": \"{{status}}\",\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Currency",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/currencies/options — 取得可用幣別選項",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/currencies/options",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "currencies",
                    "options"
                  ],
                  "query": []
                },
                "description": "登入即可（AUTH_MENU_BOOTSTRAP:VIEW）；System Admin 與 Supplier 回傳全部 ACTIVE Currency，Agent 與 Gateway 僅回傳自身綁定且為 ACTIVE 的 Currency。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/masterdata/controller/CurrencyController.java\n\nPolicy：AUTH_MENU_BOOTSTRAP:VIEW（登入後免 resource-action grant）\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Notification Provider Source",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/notificationProviderSources/page — 分頁查詢 LINE provider source",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/notificationProviderSources/page",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "notificationProviderSources",
                    "page"
                  ],
                  "query": [
                    {
                      "key": "implementationVendor",
                      "value": "{{implementationVendor}}",
                      "disabled": true
                    },
                    {
                      "key": "parserProfile",
                      "value": "{{parserProfile}}",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "{{status}}",
                      "disabled": true
                    },
                    {
                      "key": "displayName",
                      "value": "{{displayName}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "pageNumber 為 zero-based，預設 0；pageSize 預設 20 且限制 1..500。排序固定為 implementationVendor ASC、id ASC。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/masterdata/controller/NotificationProviderSourceController.java\n\nPolicy：NOTIFICATION_PROVIDER_SOURCE:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/notificationProviderSources/options — 取得 LINE 來源選項",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/notificationProviderSources/options",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "notificationProviderSources",
                    "options"
                  ],
                  "query": []
                },
                "description": "供 Supplier Setting 與 Agent 發行 LINE credential 時選擇 notificationProviderSourceId 的下拉。登入即可（AUTH_MENU_BOOTSTRAP:VIEW，不需 NOTIFICATION_PROVIDER_SOURCE grant）；只回 ACTIVE 的 LINE_WEBHOOK 來源，固定依 id ASC，不分頁、不收參數；每筆只有 id、displayName、status；單層 ResponseVo 完整清單。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/masterdata/controller/NotificationProviderSourceController.java\n\nPolicy：AUTH_MENU_BOOTSTRAP:VIEW（登入後免 resource-action grant）\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "GET /bo/v2/notificationProviderSources/parserProfiles — 取得 LINE parser profile 選項",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/notificationProviderSources/parserProfiles",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "notificationProviderSources",
                    "parserProfiles"
                  ],
                  "query": []
                },
                "description": "raw root 字串陣列，依字母排序、不分頁；只回正式使用的 profile（目前為 LINE_VENDOR）。測試用 profile 不列出，但 create／update 仍接受既有已註冊值。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/masterdata/controller/NotificationProviderSourceController.java\n\nPolicy：NOTIFICATION_PROVIDER_SOURCE:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/notificationProviderSources/{sourceId} — 取得 LINE provider source",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/notificationProviderSources/{{sourceId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "notificationProviderSources",
                    "{{sourceId}}"
                  ],
                  "query": []
                },
                "description": "只回傳完整非機密 source metadata，不回傳 credential、fingerprint、ciphertext 或 callback URL。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/masterdata/controller/NotificationProviderSourceController.java\n\nPolicy：NOTIFICATION_PROVIDER_SOURCE:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/notificationProviderSources — 建立 LINE provider source",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/notificationProviderSources",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "notificationProviderSources"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；server 固定 sourceType=LINE_WEBHOOK 且初始為 INACTIVE，不建立或回傳任何 secret。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/masterdata/controller/NotificationProviderSourceController.java\n\nPolicy：NOTIFICATION_PROVIDER_SOURCE:INSERT\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"implementationVendor\": \"{{implementationVendor}}\",\n  \"displayName\": \"{{displayName}}\",\n  \"parserProfile\": \"{{parserProfile}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/notificationProviderSources/{sourceId} — 更新 INACTIVE LINE provider source",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/notificationProviderSources/{{sourceId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "notificationProviderSources",
                    "{{sourceId}}"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；只能修改 displayName、parserProfile 與 required expectedVersion，ACTIVE source 必須先停用。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/masterdata/controller/NotificationProviderSourceController.java\n\nPolicy：NOTIFICATION_PROVIDER_SOURCE:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"displayName\": \"{{displayName}}\",\n  \"parserProfile\": \"{{parserProfile}}\",\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/notificationProviderSources/{sourceId}/status — 切換 LINE provider source 狀態",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/notificationProviderSources/{{sourceId}}/status",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "notificationProviderSources",
                    "{{sourceId}}",
                    "status"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；停用立即阻擋新的 LINE credential rotation，啟用時重新驗證 parser registry。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/masterdata/controller/NotificationProviderSourceController.java\n\nPolicy：NOTIFICATION_PROVIDER_SOURCE:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"status\": \"{{status}}\",\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "DELETE /bo/v2/notificationProviderSources/{sourceId} — 刪除未引用的 INACTIVE LINE provider source",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/notificationProviderSources/{{sourceId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "notificationProviderSources",
                    "{{sourceId}}"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；JSON body 需提供 optimistic-lock version（缺少、null 或過期回 409 RESOURCE_VERSION_CONFLICT）；physical delete 只允許未被任何 credential reference 使用的 INACTIVE source。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/masterdata/controller/NotificationProviderSourceController.java\n\nPolicy：NOTIFICATION_PROVIDER_SOURCE:DELETE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "AgentCallbackOutbox",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/agentCallbackOutbox/page — 分頁查詢 Agent callback outbox",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/agentCallbackOutbox/page",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "agentCallbackOutbox",
                    "page"
                  ],
                  "query": [
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    },
                    {
                      "key": "dispatchStatus",
                      "value": "{{dispatchStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "from",
                      "value": "{{from}}",
                      "disabled": true
                    },
                    {
                      "key": "to",
                      "value": "{{to}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "僅 SUPERADMIN；可依 agentId、dispatchStatus 與 createTime UTC 半開區間 [from, to) 篩選，固定 createTime、id 新到舊。不回傳 URL、credential 或 payload，不寫 audit。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/AgentCallbackOutboxController.java\n\nPolicy：AGENT_MANAGEMENT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/agentCallbackOutbox/{id} — 取得 Agent callback outbox 明細",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/agentCallbackOutbox/{{id}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "agentCallbackOutbox",
                    "{{id}}"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN；回 lifecycle、最近安全 error 與 immutable payload，不含 URL snapshot 或 credential reference，不寫 audit。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/AgentCallbackOutboxController.java\n\nPolicy：AGENT_MANAGEMENT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/agentCallbackOutbox/{id}/manualResend — 人工補送 DEAD Agent callback",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/agentCallbackOutbox/{{id}}/manualResend",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "agentCallbackOutbox",
                    "{{id}}",
                    "manualResend"
                  ],
                  "query": []
                },
                "description": "僅 SUPERADMIN、只接受 DEAD；同交易將 DEAD 轉回 PENDING、attempt 歸零、version +1 並寫 MANUAL_RESEND_AGENT_CALLBACK audit，回 202 已受理，由既有 worker 依原 5 次 budget 重送。沿用 immutable event 與 payload，每次 attempt 使用新 nonce／callbackId 與 Agent current key。Agent callback URL 或 key 缺失回 409。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/AgentCallbackOutboxController.java\n\nPolicy：AGENT_MANAGEMENT:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "BoAlert",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/alerts/page — 分頁查詢 BO 告警",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/alerts/page",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "alerts",
                    "page"
                  ],
                  "query": [
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    },
                    {
                      "key": "read",
                      "value": "{{read}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "登入即可（AUTH_MENU_BOOTSTRAP:VIEW）。Prefix 固定 own Agent（指定他 Agent 回 not-found）；Supply Gateway 只回 supplyGatewayId 為 own、Supplier（Admin 與 User）只回 supplierId 為 own 的告警，帶 agentId 回 not-found；Superadmin 見全部，可用 agentId 縮小為該 Agent 範圍；依 createTime、id 遞減。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/BoAlertController.java\n\nPolicy：AUTH_MENU_BOOTSTRAP:VIEW（登入後免 resource-action grant）\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/alerts/unreadCount — 查詢 BO 告警未讀數",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/alerts/unreadCount",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "alerts",
                    "unreadCount"
                  ],
                  "query": []
                },
                "description": "登入即可；依收件範圍計算：Prefix 為 own Agent、Supply Gateway 為 own Supply Gateway、Supplier 為 own Supplier、Superadmin 為全部的未讀數。SSE 為 best-effort，前端以本值為權威。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/BoAlertController.java\n\nPolicy：AUTH_MENU_BOOTSTRAP:VIEW（登入後免 resource-action grant）\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/alerts/stream — 開啟 BO 告警 SSE",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/alerts/stream",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "alerts",
                    "stream"
                  ],
                  "query": []
                },
                "description": "text/event-stream；事件名 bo-alert、data 為 BoAlertVo。Prefix、Supply Gateway、Supplier 只收 own 範圍、Superadmin 收全部新告警，範圍與 page 相同。best-effort：只推送給同一 BO instance 上的連線、不補送，連線 30 分鐘逾時需重連，未讀數以 unreadCount 為權威；登記失敗寫 WARN。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/BoAlertController.java\n\nPolicy：AUTH_MENU_BOOTSTRAP:VIEW（登入後免 resource-action grant）\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "PUT /bo/v2/alerts/{alertId}/read — 標記 BO 告警已讀",
              "request": {
                "method": "PUT",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/alerts/{{alertId}}/read",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "alerts",
                    "{{alertId}}",
                    "read"
                  ],
                  "query": []
                },
                "description": "無 request body。已讀為每筆告警一份，可見它的範圍共享：同 Agent、同 Supply Gateway 或同 Supplier 的所有使用者與 Superadmin 都看到已讀；已讀者重送為 no-op。範圍外與不存在皆回 not-found 並寫 WARN。實際變更時寫一筆 LOW audit。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/BoAlertController.java\n\nPolicy：AUTH_MENU_BOOTSTRAP:VIEW（登入後免 resource-action grant）\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/alerts/readAll — 標記全部 BO 告警已讀",
              "request": {
                "method": "PUT",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/alerts/readAll",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "alerts",
                    "readAll"
                  ],
                  "query": []
                },
                "description": "無 request body。Prefix、Supply Gateway、Supplier 標記 own 範圍，Superadmin 標記全部未讀告警；每個實際變更的 Agent、Supply Gateway、Supplier 寫一筆 LOW audit，SUPERADMIN 範圍另一筆。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/BoAlertController.java\n\nPolicy：AUTH_MENU_BOOTSTRAP:VIEW（登入後免 resource-action grant）\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "ChannelAnalytics",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/channelAnalytics/options — 查詢 Channel Analytics 選項",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/channelAnalytics/options",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "channelAnalytics",
                    "options"
                  ],
                  "query": [
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "回 Agent 的收款路線代號（全部 House Card、Supply Gateway／Supply Channel 代號，含停用或刪除的收款方，最後為未分派）、routeType／direction／period 列舉、Agent offset、幣別與今日；Agent 清單另由 /bo/v2/agents/options 取得。Superadmin 必帶 agentId（不存在回 not-found）；Prefix 只看自己的 Agent（帶入其他 agentId 回 not-found）；Supplier／Gateway 回 403。Prefix 回應只含路線代號，不含 Supply Gateway／Supply Channel／Supplier 真實名稱或識別碼。參數不合法回 400、代號不屬於該 Agent 回 not-found，皆寫 WARN（不記原值）。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/ChannelAnalyticsController.java\n\nPolicy：CHANNEL_ANALYTICS:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/channelAnalytics/page — 分頁查詢 Channel Analytics",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/channelAnalytics/page",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "channelAnalytics",
                    "page"
                  ],
                  "query": [
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    },
                    {
                      "key": "direction",
                      "value": "{{direction}}",
                      "disabled": true
                    },
                    {
                      "key": "period",
                      "value": "{{period}}",
                      "disabled": true
                    },
                    {
                      "key": "fromDate",
                      "value": "{{fromDate}}",
                      "disabled": true
                    },
                    {
                      "key": "toDate",
                      "value": "{{toDate}}",
                      "disabled": true
                    },
                    {
                      "key": "routeType",
                      "value": "{{routeType}}",
                      "disabled": true
                    },
                    {
                      "key": "routeCode",
                      "value": "{{routeCode}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "Deposit 與 Withdraw 分開；只算 Agent 發單（Deposit 不含 CANCELLED、Withdraw 只取 AGENT_API），每單只算一次、依建單 Agent 營業日歸期。已結算的單歸給被選中結算的 attempt，其他歸給目前或最後一個 attempt，從未分派列為 UNASSIGNED。成功率 = 成功 ÷（成功 + 失敗）；耗時為建單到結算的中位數與 nearest-rank P90；使用率只對 Deposit 的 House Card 與 Supply Channel。列依類型、編號排序。Superadmin 必帶 agentId（不存在回 not-found）；Prefix 只看自己的 Agent（帶入其他 agentId 回 not-found）；Supplier／Gateway 回 403。Prefix 回應只含路線代號，不含 Supply Gateway／Supply Channel／Supplier 真實名稱或識別碼。參數不合法回 400、代號不屬於該 Agent 回 not-found，皆寫 WARN（不記原值）。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/ChannelAnalyticsController.java\n\nPolicy：CHANNEL_ANALYTICS:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/channelAnalytics/detail — 查詢 Channel Analytics 每日明細",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/channelAnalytics/detail",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "channelAnalytics",
                    "detail"
                  ],
                  "query": [
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    },
                    {
                      "key": "direction",
                      "value": "{{direction}}",
                      "disabled": true
                    },
                    {
                      "key": "period",
                      "value": "{{period}}",
                      "disabled": true
                    },
                    {
                      "key": "fromDate",
                      "value": "{{fromDate}}",
                      "disabled": true
                    },
                    {
                      "key": "toDate",
                      "value": "{{toDate}}",
                      "disabled": true
                    },
                    {
                      "key": "routeCode",
                      "value": "{{routeCode}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "期間內每個 Agent 營業日一筆（無訂單的日期計數為 0、指標為 null），附跳轉 Deposit／Withdraw 列表的篩選（agentId、routeCode、該日 UTC from／until、Withdraw 的 originType）；合計與同條件 page 列相同。Superadmin 必帶 agentId（不存在回 not-found）；Prefix 只看自己的 Agent（帶入其他 agentId 回 not-found）；Supplier／Gateway 回 403。Prefix 回應只含路線代號，不含 Supply Gateway／Supply Channel／Supplier 真實名稱或識別碼。參數不合法回 400、代號不屬於該 Agent 回 not-found，皆寫 WARN（不記原值）。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/ChannelAnalyticsController.java\n\nPolicy：CHANNEL_ANALYTICS:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "ChannelDepositReport",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/depositOrders/report/options — 查詢 Channel Deposit Report 選項",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/depositOrders/report/options",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "depositOrders",
                    "report",
                    "options"
                  ],
                  "query": [
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "回 Agent 的收款路線代號（全部 House Card、Supply Gateway／Supply Channel 代號，含停用或刪除的收款方，最後為未分派）、幣別、狀態（不含 CANCELLED）、period 列舉、Agent offset、今日與預設期間；Agent 清單另由 /bo/v2/agents/options 取得。Superadmin 必帶 agentId（一次一個 Agent，不存在回 not-found）；Prefix 只看自己的 Agent（帶入其他 agentId 回 not-found）；Supplier／Gateway 回 403。期間預設今天加前 29 個 Agent 營業日，以 Agent 主檔 offset 換算為 UTC 半開區間；CANCELLED 不列入。會員帳號只露末四碼；Prefix 不含 Supply Gateway／Supply Channel／Supplier 真實名稱或識別碼，非 House Card 單的 BO 備註為 null。參數不合法回 400、代號不屬於該 Agent 回 not-found，皆寫 WARN（不記原值）；未列出的參數不生效。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/ChannelDepositReportController.java\n\nPolicy：CHANNEL_DEPOSIT_REPORT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/depositOrders/report/page — 分頁查詢 Channel Deposit Report 明細",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/depositOrders/report/page",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "depositOrders",
                    "report",
                    "page"
                  ],
                  "query": [
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    },
                    {
                      "key": "period",
                      "value": "{{period}}",
                      "disabled": true
                    },
                    {
                      "key": "fromDate",
                      "value": "{{fromDate}}",
                      "disabled": true
                    },
                    {
                      "key": "toDate",
                      "value": "{{toDate}}",
                      "disabled": true
                    },
                    {
                      "key": "currencyId",
                      "value": "{{currencyId}}",
                      "disabled": true
                    },
                    {
                      "key": "routeCode",
                      "value": "{{routeCode}}",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "{{status}}",
                      "disabled": true
                    },
                    {
                      "key": "orderNo",
                      "value": "{{orderNo}}",
                      "disabled": true
                    },
                    {
                      "key": "agentOrderId",
                      "value": "{{agentOrderId}}",
                      "disabled": true
                    },
                    {
                      "key": "account",
                      "value": "{{account}}",
                      "disabled": true
                    },
                    {
                      "key": "name",
                      "value": "{{name}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "時間、訂單號、Agent 訂單號、會員帳號（遮罩）與姓名、收款路線、幣別、申請金額、實際金額、狀態、備註；依建單時間、id 由新到舊。收款路線歸屬同 Channel Analytics：已結算看被選中結算的 attempt，其他看目前 attempt，沒有則看最後一個 attempt，從未分派為 UNASSIGNED。Superadmin 必帶 agentId（一次一個 Agent，不存在回 not-found）；Prefix 只看自己的 Agent（帶入其他 agentId 回 not-found）；Supplier／Gateway 回 403。期間預設今天加前 29 個 Agent 營業日，以 Agent 主檔 offset 換算為 UTC 半開區間；CANCELLED 不列入。會員帳號只露末四碼；Prefix 不含 Supply Gateway／Supply Channel／Supplier 真實名稱或識別碼，非 House Card 單的 BO 備註為 null。參數不合法回 400、代號不屬於該 Agent 回 not-found，皆寫 WARN（不記原值）；未列出的參數不生效。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/ChannelDepositReportController.java\n\nPolicy：CHANNEL_DEPOSIT_REPORT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/depositOrders/report/subtotals — 查詢 Channel Deposit Report 小計",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/depositOrders/report/subtotals",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "depositOrders",
                    "report",
                    "subtotals"
                  ],
                  "query": [
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    },
                    {
                      "key": "period",
                      "value": "{{period}}",
                      "disabled": true
                    },
                    {
                      "key": "fromDate",
                      "value": "{{fromDate}}",
                      "disabled": true
                    },
                    {
                      "key": "toDate",
                      "value": "{{toDate}}",
                      "disabled": true
                    },
                    {
                      "key": "currencyId",
                      "value": "{{currencyId}}",
                      "disabled": true
                    },
                    {
                      "key": "routeCode",
                      "value": "{{routeCode}}",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "{{status}}",
                      "disabled": true
                    },
                    {
                      "key": "orderNo",
                      "value": "{{orderNo}}",
                      "disabled": true
                    },
                    {
                      "key": "agentOrderId",
                      "value": "{{agentOrderId}}",
                      "disabled": true
                    },
                    {
                      "key": "account",
                      "value": "{{account}}",
                      "disabled": true
                    },
                    {
                      "key": "name",
                      "value": "{{name}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "與 page 相同範圍，依「Agent × 收款路線」分組的筆數、申請金額與實際金額（實際金額無值以 0 加總），另附總計；總筆數等於 page 的 total，各列 routeCode 帶回 page 的筆數等於該列 orderCount。Superadmin 必帶 agentId（一次一個 Agent，不存在回 not-found）；Prefix 只看自己的 Agent（帶入其他 agentId 回 not-found）；Supplier／Gateway 回 403。期間預設今天加前 29 個 Agent 營業日，以 Agent 主檔 offset 換算為 UTC 半開區間；CANCELLED 不列入。會員帳號只露末四碼；Prefix 不含 Supply Gateway／Supply Channel／Supplier 真實名稱或識別碼，非 House Card 單的 BO 備註為 null。參數不合法回 400、代號不屬於該 Agent 回 not-found，皆寫 WARN（不記原值）；未列出的參數不生效。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/ChannelDepositReportController.java\n\nPolicy：CHANNEL_DEPOSIT_REPORT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/depositOrders/report/export — 匯出 Channel Deposit Report CSV",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/depositOrders/report/export",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "depositOrders",
                    "report",
                    "export"
                  ],
                  "query": [
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    },
                    {
                      "key": "period",
                      "value": "{{period}}",
                      "disabled": true
                    },
                    {
                      "key": "fromDate",
                      "value": "{{fromDate}}",
                      "disabled": true
                    },
                    {
                      "key": "toDate",
                      "value": "{{toDate}}",
                      "disabled": true
                    },
                    {
                      "key": "currencyId",
                      "value": "{{currencyId}}",
                      "disabled": true
                    },
                    {
                      "key": "routeCode",
                      "value": "{{routeCode}}",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "{{status}}",
                      "disabled": true
                    },
                    {
                      "key": "orderNo",
                      "value": "{{orderNo}}",
                      "disabled": true
                    },
                    {
                      "key": "agentOrderId",
                      "value": "{{agentOrderId}}",
                      "disabled": true
                    },
                    {
                      "key": "account",
                      "value": "{{account}}",
                      "disabled": true
                    },
                    {
                      "key": "name",
                      "value": "{{name}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "與 page 相同範圍、欄位與排序的全部明細（不只當頁），每批 500 筆讀取；formula escape、UTF-8 without BOM；同交易寫 EXPORT_CHANNEL_DEPOSIT_REPORT audit，audit 寫入失敗時不回傳檔案並寫 WARN。Superadmin 必帶 agentId（一次一個 Agent，不存在回 not-found）；Prefix 只看自己的 Agent（帶入其他 agentId 回 not-found）；Supplier／Gateway 回 403。期間預設今天加前 29 個 Agent 營業日，以 Agent 主檔 offset 換算為 UTC 半開區間；CANCELLED 不列入。會員帳號只露末四碼；Prefix 不含 Supply Gateway／Supply Channel／Supplier 真實名稱或識別碼，非 House Card 單的 BO 備註為 null。參數不合法回 400、代號不屬於該 Agent 回 not-found，皆寫 WARN（不記原值）；未列出的參數不生效。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/ChannelDepositReportController.java\n\nPolicy：CHANNEL_DEPOSIT_REPORT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "DepositOrderAction",
      "item": [
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/depositOrders/{id}/settle — 核准 CH Deposit 入款",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/depositOrders/{{id}}/settle",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "depositOrders",
                    "{{id}}",
                    "settle"
                  ],
                  "query": []
                },
                "description": "只引用已 committed verified evidence；credit、Ledger、reservation、Order、Audit 及 terminal intent 在同一交易。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/DepositOrderActionController.java\n\nPolicy：SUPPLY_DEPOSIT_WORKSPACE:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"idempotencyKey\": \"{{idempotencyKey}}\",\n  \"targetAttemptId\": {{targetAttemptId}},\n  \"evidenceOperationId\": {{evidenceOperationId}},\n  \"actual\": \"{{actual}}\",\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "POST /bo/v2/depositOrders/{id}/close — 依 BO 原因拒絕 CH Deposit",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/depositOrders/{{id}}/close",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "depositOrders",
                    "{{id}}",
                    "close"
                  ],
                  "query": []
                },
                "description": "reason-only rejection；同交易釋放 requested reservation，不表示 verified absence，不 credit。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/DepositOrderActionController.java\n\nPolicy：SUPPLY_DEPOSIT_WORKSPACE:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"idempotencyKey\": \"{{idempotencyKey}}\",\n  \"targetAttemptId\": {{targetAttemptId}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "POST /bo/v2/depositOrders/{id}/redispatch — 原子重派 CH Deposit",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/depositOrders/{{id}}/redispatch",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "depositOrders",
                    "{{id}}",
                    "redispatch"
                  ],
                  "query": []
                },
                "description": "新 reserve 與舊 release 同交易；指定 Account 不偷偷 fallback，預設 CH-only fairness，失敗保留原占用。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/DepositOrderActionController.java\n\nPolicy：SUPPLY_DEPOSIT_WORKSPACE:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"idempotencyKey\": \"{{idempotencyKey}}\",\n  \"targetAttemptId\": {{targetAttemptId}},\n  \"paymentAccountId\": null,\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "POST /bo/v2/depositOrders/{id}/evidence — 登記 Deposit evidence",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/depositOrders/{{id}}/evidence",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "depositOrders",
                    "{{id}}",
                    "evidence"
                  ],
                  "query": []
                },
                "description": "action 預設 REGISTER_RECEIPT；CONFIRM_ABSENCE 逐 attempt 確認無入款，須 reason/reference 與唯一可信 verifier。獨立提交，不 release/credit，不接受 client verified。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/DepositOrderActionController.java\n\nPolicy：SUPPLY_DEPOSIT_WORKSPACE:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"action\": \"REGISTER_RECEIPT\",\n  \"expectedVersion\": {{expectedVersion}},\n  \"idempotencyKey\": \"{{idempotencyKey}}\",\n  \"targetAttemptId\": {{targetAttemptId}},\n  \"actual\": \"{{actual}}\",\n  \"proofId\": null,\n  \"reference\": \"{{reference}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "DepositOrderAssignment",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/depositOrders/{id}/assignmentCandidates — 取得 Deposit 初派或 CH 重派候選",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/depositOrders/{{id}}/assignmentCandidates",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "depositOrders",
                    "{{id}}",
                    "assignmentCandidates"
                  ],
                  "query": [
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "同一 scope/keyset/fairness、server evaluation time、遮罩帳號；pageNumber zero-based、pageSize 1..500，POST 持鎖重驗。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/DepositOrderAssignmentController.java\n\nPolicy：SUPPLY_DEPOSIT_WORKSPACE:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/depositOrders/{id}/assign — Admin 初派從未成功指派的 Deposit",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/depositOrders/{{id}}/assign",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "depositOrders",
                    "{{id}}",
                    "assign"
                  ],
                  "query": []
                },
                "description": "CAS/exact idempotency；paymentAccountId/houseCardId 互斥，可皆空自動 routing。所有 effects 同交易，無候選或 reserve 失敗完整保留原狀；指定 receiver 不 fallback。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/DepositOrderAssignmentController.java\n\nPolicy：SUPPLY_DEPOSIT_WORKSPACE:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"idempotencyKey\": \"{{idempotencyKey}}\",\n  \"paymentAccountId\": null,\n  \"houseCardId\": null,\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "DepositOrderReport",
      "item": [
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/depositOrders/{orderId}/reports — Prefix 回報 Deposit",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/depositOrders/{{orderId}}/reports",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "depositOrders",
                    "{{orderId}}",
                    "reports"
                  ],
                  "query": []
                },
                "description": "只限 Prefix 對 own Agent、current 分派給 Cardholder 的單；回報即告警給該單 current Supply Gateway，不寫 BO 備註、不改訂單；訂單仍停在回報時的分派、狀態與進入時間即為未處理：同內容重送回原結果，不同內容 409；House Card、別的 Agent、未分派與不存在一律 404。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/DepositOrderReportController.java\n\nPolicy：DEPOSIT_WORKSPACE:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"reasonCategory\": \"PAID_NOT_CREDITED\",\n  \"description\": \"{{description}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "DepositOrderWorkspace",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/depositOrders/page — 分頁查詢 Deposit",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/depositOrders/page",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "depositOrders",
                    "page"
                  ],
                  "query": [
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    },
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    },
                    {
                      "key": "supplierId",
                      "value": "{{supplierId}}",
                      "disabled": true
                    },
                    {
                      "key": "gatewayId",
                      "value": "{{gatewayId}}",
                      "disabled": true
                    },
                    {
                      "key": "orderNo",
                      "value": "{{orderNo}}",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "{{status}}",
                      "disabled": true
                    },
                    {
                      "key": "hasBoRemark",
                      "value": "{{hasBoRemark}}",
                      "disabled": true
                    },
                    {
                      "key": "from",
                      "value": "{{from}}",
                      "disabled": true
                    },
                    {
                      "key": "until",
                      "value": "{{until}}",
                      "disabled": true
                    },
                    {
                      "key": "currencyId",
                      "value": "{{currencyId}}",
                      "disabled": true
                    },
                    {
                      "key": "bankCode",
                      "value": "{{bankCode}}",
                      "disabled": true
                    },
                    {
                      "key": "account",
                      "value": "{{account}}",
                      "disabled": true
                    },
                    {
                      "key": "name",
                      "value": "{{name}}",
                      "disabled": true
                    },
                    {
                      "key": "receivingType",
                      "value": "{{receivingType}}",
                      "disabled": true
                    },
                    {
                      "key": "methodCode",
                      "value": "{{methodCode}}",
                      "disabled": true
                    },
                    {
                      "key": "routeCode",
                      "value": "{{routeCode}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "pageNumber zero-based、pageSize 1..500；from/until 是 UTC half-open ISO timestamps；owner selector 只縮小 Admin scope；methodCode 選 Agent Deposit／Deposit List 範圍，Prefix 的非 HOUSE、非 AGENT_ACCOUNT 單為遮罩投影。status 列舉：PENDING_ROUTING、ASSIGNED、PENDING_REVIEW、SETTLED、EXPIRED、REJECTED、CANCELLED；PENDING_ROUTING 是建單交易內的暫態，只屬於 Agent Deposit。routeCode 依 Channel Analytics 歸屬篩選：Superadmin 必須同時帶 agentId，Supplier／Gateway 帶入回 400 40005；代號在該 Agent 不存在回空頁；帶代號時排除 CANCELLED，同時帶 status=CANCELLED 回 200 空頁。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/DepositOrderWorkspaceController.java\n\nPolicy：SUPPLY_DEPOSIT_WORKSPACE:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/depositOrders/stats — Deposit 統計列",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/depositOrders/stats",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "depositOrders",
                    "stats"
                  ],
                  "query": [
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    },
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    },
                    {
                      "key": "supplierId",
                      "value": "{{supplierId}}",
                      "disabled": true
                    },
                    {
                      "key": "gatewayId",
                      "value": "{{gatewayId}}",
                      "disabled": true
                    },
                    {
                      "key": "orderNo",
                      "value": "{{orderNo}}",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "{{status}}",
                      "disabled": true
                    },
                    {
                      "key": "hasBoRemark",
                      "value": "{{hasBoRemark}}",
                      "disabled": true
                    },
                    {
                      "key": "from",
                      "value": "{{from}}",
                      "disabled": true
                    },
                    {
                      "key": "until",
                      "value": "{{until}}",
                      "disabled": true
                    },
                    {
                      "key": "currencyId",
                      "value": "{{currencyId}}",
                      "disabled": true
                    },
                    {
                      "key": "bankCode",
                      "value": "{{bankCode}}",
                      "disabled": true
                    },
                    {
                      "key": "account",
                      "value": "{{account}}",
                      "disabled": true
                    },
                    {
                      "key": "name",
                      "value": "{{name}}",
                      "disabled": true
                    },
                    {
                      "key": "receivingType",
                      "value": "{{receivingType}}",
                      "disabled": true
                    },
                    {
                      "key": "methodCode",
                      "value": "{{methodCode}}",
                      "disabled": true
                    },
                    {
                      "key": "routeCode",
                      "value": "{{routeCode}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "與 page 相同 scope 與 filters 的 Total／Rejected／Resolved（SETTLED、EXPIRED、REJECTED、CANCELLED）單一 snapshot；rate 為 0..1 scale 4 HALF_UP 字串，total=0 時為 null。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/DepositOrderWorkspaceController.java\n\nPolicy：SUPPLY_DEPOSIT_WORKSPACE:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/depositOrders/{id} — 取得 Deposit 明細",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/depositOrders/{{id}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "depositOrders",
                    "{{id}}"
                  ],
                  "query": []
                },
                "description": "跨 scope 與不存在統一 404；old Gateway 只能取得 own attempt 的安全歷史。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/DepositOrderWorkspaceController.java\n\nPolicy：SUPPLY_DEPOSIT_WORKSPACE:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/depositOrders/{id}/evidence — 分頁讀取 Deposit evidence",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/depositOrders/{{id}}/evidence",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "depositOrders",
                    "{{id}}",
                    "evidence"
                  ],
                  "query": [
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "不回 source identity、reference、digest 或 bytes；current Gateway 只取得 current own attempt evidence。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/DepositOrderWorkspaceController.java\n\nPolicy：SUPPLY_DEPOSIT_WORKSPACE:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/depositOrders/export — 匯出 Deposit CSV",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/depositOrders/export",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "depositOrders",
                    "export"
                  ],
                  "query": [
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    },
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    },
                    {
                      "key": "supplierId",
                      "value": "{{supplierId}}",
                      "disabled": true
                    },
                    {
                      "key": "gatewayId",
                      "value": "{{gatewayId}}",
                      "disabled": true
                    },
                    {
                      "key": "orderNo",
                      "value": "{{orderNo}}",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "{{status}}",
                      "disabled": true
                    },
                    {
                      "key": "hasBoRemark",
                      "value": "{{hasBoRemark}}",
                      "disabled": true
                    },
                    {
                      "key": "from",
                      "value": "{{from}}",
                      "disabled": true
                    },
                    {
                      "key": "until",
                      "value": "{{until}}",
                      "disabled": true
                    },
                    {
                      "key": "currencyId",
                      "value": "{{currencyId}}",
                      "disabled": true
                    },
                    {
                      "key": "bankCode",
                      "value": "{{bankCode}}",
                      "disabled": true
                    },
                    {
                      "key": "account",
                      "value": "{{account}}",
                      "disabled": true
                    },
                    {
                      "key": "name",
                      "value": "{{name}}",
                      "disabled": true
                    },
                    {
                      "key": "receivingType",
                      "value": "{{receivingType}}",
                      "disabled": true
                    },
                    {
                      "key": "methodCode",
                      "value": "{{methodCode}}",
                      "disabled": true
                    },
                    {
                      "key": "routeCode",
                      "value": "{{routeCode}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "共用 page 的 scope/predicate/projection/sort；formula escape，UTF-8 without BOM，secret-safe Audit 先提交。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/DepositOrderWorkspaceController.java\n\nPolicy：SUPPLY_DEPOSIT_WORKSPACE:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/depositOrders/{id}/proofs/{proofId}/content — 取得私有 Deposit proof",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/depositOrders/{{id}}/proofs/{{proofId}}/content",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "depositOrders",
                    "{{id}}",
                    "proofs",
                    "{{proofId}}",
                    "content"
                  ],
                  "query": []
                },
                "description": "current scope、原 attempt 與實際 storage bytes/ownership/hash/MIME 重新驗證；attachment/no-store/nosniff，不構成銀行入款 authority。Content-Type 依實際檔頭：image/png、image/jpeg、image/webp；application/pdf 只有讀取端認得，上傳不收。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/DepositOrderWorkspaceController.java\n\nPolicy：SUPPLY_DEPOSIT_WORKSPACE:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/depositOrders/{id}/remarks — 追加 Deposit BO 備註",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/depositOrders/{{id}}/remarks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "depositOrders",
                    "{{id}}",
                    "remarks"
                  ],
                  "query": []
                },
                "description": "必須通過 current UPDATE scope/CAS；與 operation/Audit 原子提交，不回或複製備註原文到 command result/Audit。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/DepositOrderWorkspaceController.java\n\nPolicy：SUPPLY_DEPOSIT_WORKSPACE:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"idempotencyKey\": \"{{idempotencyKey}}\",\n  \"text\": \"{{text}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Gateway Account",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/gatewayAccounts — 分頁查詢 Gateway account",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/gatewayAccounts",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "gatewayAccounts"
                  ],
                  "query": [
                    {
                      "key": "supplierId",
                      "value": "{{supplierId}}",
                      "disabled": true
                    },
                    {
                      "key": "gatewayId",
                      "value": "{{gatewayId}}",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "{{status}}",
                      "disabled": true
                    },
                    {
                      "key": "account",
                      "value": "{{account}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "Superadmin 可選 Supplier 與 Gateway；Supplier 強制限制自身 Supplier scope；Gateway Admin 固定 own Gateway，忽略 selector；Gateway User 回 403。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/GatewayAccountController.java\n\nPolicy：GATEWAY_ACCOUNT_LIST:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。\n\nA1/A2 contract：gatewayName 由後端既有 owner batch lookup 補足；不需逐列查詢。creator／modifier：建立者與最近管理異動者 account snapshot（#549），登入失敗、批次撤銷等簿記不改寫，歷史資料為 null。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/gatewayAccounts/{accountId} — 取得 Gateway account detail",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/gatewayAccounts/{{accountId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "gatewayAccounts",
                    "{{accountId}}"
                  ],
                  "query": []
                },
                "description": "deleted、missing 或 cross-scope target 一律 not-found；Gateway Admin 可讀 own Gateway 全部帳號，Gateway User 回 403。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/GatewayAccountController.java\n\nPolicy：GATEWAY_ACCOUNT_LIST:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。\n\nA1/A2 contract：gatewayName display；缺失 master 為 null，owner identity 保留。creator／modifier：建立者與最近管理異動者 account snapshot（#549），登入失敗、批次撤銷等簿記不改寫，歷史資料為 null。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/gatewayAccounts — 建立 Gateway account",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/gatewayAccounts",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "gatewayAccounts"
                  ],
                  "query": []
                },
                "description": "Superadmin、owning Supplier（Supplier Admin 與 Supplier User）或 Gateway Admin（固定 own Gateway、只能建立 GATEWAY_USER）；role 未帶為 GATEWAY_USER，建立後不可修改；temporary password 與 TOTP secret 僅本次回傳。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/GatewayAccountController.java\n\nPolicy：GATEWAY_ACCOUNT_LIST:INSERT\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"gatewayId\": {{gatewayId}},\n  \"account\": \"{{account}}\",\n  \"role\": \"{{role}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/gatewayAccounts/{accountId}/status — 更新 Gateway account 狀態",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/gatewayAccounts/{{accountId}}/status",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "gatewayAccounts",
                    "{{accountId}}",
                    "status"
                  ],
                  "query": []
                },
                "description": "使用 optimistic lock；實際狀態異動撤銷既有 session，同值為 no-op。Gateway Admin 只可操作 own Gateway 的 GATEWAY_USER：其他 admin 403、本人 400、跨 owner 404。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/GatewayAccountController.java\n\nPolicy：GATEWAY_ACCOUNT_LIST:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"status\": \"{{status}}\",\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "DELETE /bo/v2/gatewayAccounts/{accountId} — 軟刪除 Gateway account",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/gatewayAccounts/{{accountId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "gatewayAccounts",
                    "{{accountId}}"
                  ],
                  "query": []
                },
                "description": "使用 optimistic lock、撤銷 session 並釋放 Supplier-scope active identity；可刪除最後一個 Gateway account。Gateway Admin 只可操作 own Gateway 的 GATEWAY_USER：其他 admin 403、本人 400、跨 owner 404。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/GatewayAccountController.java\n\nPolicy：GATEWAY_ACCOUNT_LIST:DELETE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "POST /bo/v2/gatewayAccounts/{accountId}/totp/reset — 生成或重設 Gateway account TOTP",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/gatewayAccounts/{{accountId}}/totp/reset",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "gatewayAccounts",
                    "{{accountId}}",
                    "totp",
                    "reset"
                  ],
                  "query": []
                },
                "description": "Superadmin、owning Supplier（Supplier Admin 與 Supplier User）或 Gateway Admin（只限 own Gateway 的 GATEWAY_USER）可操作；inactive account 或 inactive Gateway 仍可重設。成功後覆蓋舊 secret、撤銷 target 全部 session，不改 password，且只在本次 response 交付新 secret。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/GatewayAccountController.java\n\nPolicy：GATEWAY_ACCOUNT_LIST:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "HourlyProjectionFact",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/hourlyProjectionFacts/page — 分頁查詢 parked hourly projection fact",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/hourlyProjectionFacts/page",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "hourlyProjectionFacts",
                    "page"
                  ],
                  "query": [
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    },
                    {
                      "key": "errorCode",
                      "value": "{{errorCode}}",
                      "disabled": true
                    },
                    {
                      "key": "failedFrom",
                      "value": "{{failedFrom}}",
                      "disabled": true
                    },
                    {
                      "key": "failedUntil",
                      "value": "{{failedUntil}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "僅 Superadmin；只列 NEEDS_ATTENTION work，回 queueId／version、來源與 owner、attempt 與人工重排次數、去敏失敗分類／error code 與時間；依 lastFailureTime、queueId 遞減。pageNumber 為 zero-based，預設 0；pageSize 預設 20 且限制 1..500。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/HourlyProjectionFactController.java\n\nPolicy：SYSTEM_HOURLY_PROJECTION:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/hourlyProjectionFacts/{queueId}/requeue — 人工重排 parked hourly projection fact",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/hourlyProjectionFacts/{{queueId}}/requeue",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "hourlyProjectionFacts",
                    "{{queueId}}",
                    "requeue"
                  ],
                  "query": []
                },
                "description": "僅 Superadmin；CAS 把 NEEDS_ATTENTION 改回 RETRYING 立即到期並寫一筆 HIGH audit，不在 request 內投影。版本過期回 409 RESOURCE_VERSION_CONFLICT、非 parked 回 409 RESOURCE_STATE_CONFLICT、不存在回 404；重排後再失敗立即重新 park。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/HourlyProjectionFactController.java\n\nPolicy：SYSTEM_HOURLY_PROJECTION:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "POST /bo/v2/hourlyProjectionFacts/requeueBatch — 批次人工重排 parked hourly projection fact",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/hourlyProjectionFacts/requeueBatch",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "hourlyProjectionFacts",
                    "requeueBatch"
                  ],
                  "query": []
                },
                "description": "僅 Superadmin；1..50 筆不重複 queue 共用 reason，格式不合法整批 400。每筆各自 transaction 依序處理並回報 REQUEUED／VERSION_CONFLICT／NOT_PARKED／NOT_FOUND／FAILED（該筆 rollback），個別失敗不影響其他筆；每筆成功寫一筆 HIGH audit。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/HourlyProjectionFactController.java\n\nPolicy：SYSTEM_HOURLY_PROJECTION:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"reason\": \"{{reason}}\",\n  \"items\": [{\"queueId\": {{itemsItemQueueId}}, \"expectedVersion\": {{itemsItemExpectedVersion}}}]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "HOUSE Card",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/houseCard/page — 分頁查詢 HOUSE Card",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/houseCard/page",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "houseCard",
                    "page"
                  ],
                  "query": [
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    },
                    {
                      "key": "cardStatus",
                      "value": "{{cardStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "bankId",
                      "value": "{{bankId}}",
                      "disabled": true
                    },
                    {
                      "key": "displayName",
                      "value": "{{displayName}}",
                      "disabled": true
                    },
                    {
                      "key": "limitSource",
                      "value": "{{limitSource}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "Prefix 固定 own Agent；System Admin 可用 agentId 縮小範圍，未提供時查看全部。排序固定 owner first、id ascending。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/HouseCardController.java\n\nPolicy：SUPPLY_HOUSE_CARD:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/houseCard/{houseCardId} — 取得 HOUSE Card",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/houseCard/{{houseCardId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "houseCard",
                    "{{houseCardId}}"
                  ],
                  "query": []
                },
                "description": "依 path target 執行 owner scope-protected lookup，不以錯誤差異揭露其他 Agent。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/HouseCardController.java\n\nPolicy：SUPPLY_HOUSE_CARD:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/houseCard/{houseCardId}/balanceLogs/page — 分頁查詢 HOUSE Card balance log",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/houseCard/{{houseCardId}}/balanceLogs/page",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "houseCard",
                    "{{houseCardId}}",
                    "balanceLogs",
                    "page"
                  ],
                  "query": [
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "Deposit 入帳與人工調帳的 append-only ledger，排序固定 createTime、id descending；無匯出。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/HouseCardController.java\n\nPolicy：SUPPLY_HOUSE_CARD:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/houseCard/{houseCardId}/balanceLogs/{logId} — 取得 HOUSE Card balance log 明細",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/houseCard/{{houseCardId}}/balanceLogs/{{logId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "houseCard",
                    "{{houseCardId}}",
                    "balanceLogs",
                    "{{logId}}"
                  ],
                  "query": []
                },
                "description": "logId 取自 balanceLogs page；不屬於 path HOUSE Card 或 scope 外均回 404。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/HouseCardController.java\n\nPolicy：SUPPLY_HOUSE_CARD:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/houseCard — 建立 HOUSE Card",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/houseCard",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "houseCard"
                  ],
                  "query": []
                },
                "description": "System Admin 必填 positive agentId；Prefix 必須省略或傳 null。此 endpoint 使用 House 專用 strict JSON allow-list。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/HouseCardController.java\n\nPolicy：SUPPLY_HOUSE_CARD:INSERT\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"agentId\": {{agentId}},\n  \"displayName\": \"{{houseCardDisplayName}}\",\n  \"bankId\": {{bankId}},\n  \"accountNumber\": \"{{houseCardAccountNumber}}\",\n  \"accountName\": \"{{houseCardAccountName}}\",\n  \"depositEnabled\": {{depositEnabled}},\n  \"dailyAmountLimit\": {{dailyAmountLimit}},\n  \"dailyTxLimit\": {{dailyTxLimit}},\n  \"depositMin\": {{depositMin}},\n  \"depositMax\": {{depositMax}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/houseCard/{houseCardId} — 完整更新 HOUSE Card",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/houseCard/{{houseCardId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "houseCard",
                    "{{houseCardId}}"
                  ],
                  "query": []
                },
                "description": "僅可完整替換 mutable fields；不可改 Agent、Currency、Bank 或 account number。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/HouseCardController.java\n\nPolicy：SUPPLY_HOUSE_CARD:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"displayName\": \"{{houseCardDisplayName}}\",\n  \"accountName\": \"{{houseCardAccountName}}\",\n  \"depositEnabled\": {{depositEnabled}},\n  \"dailyAmountLimit\": {{dailyAmountLimit}},\n  \"dailyTxLimit\": {{dailyTxLimit}},\n  \"depositMin\": {{depositMin}},\n  \"depositMax\": {{depositMax}},\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/houseCard/{houseCardId}/status — 切換 HOUSE Card 狀態",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/houseCard/{{houseCardId}}/status",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "houseCard",
                    "{{houseCardId}}",
                    "status"
                  ],
                  "query": []
                },
                "description": "只控制新 routing；先比 expectedVersion，current-version same-state 回完整 VO 且不寫入。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/HouseCardController.java\n\nPolicy：SUPPLY_HOUSE_CARD:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"cardStatus\": \"{{cardStatus}}\",\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "DELETE /bo/v2/houseCard/{houseCardId} — Soft delete HOUSE Card",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/houseCard/{{houseCardId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "houseCard",
                    "{{houseCardId}}"
                  ],
                  "query": []
                },
                "description": "只允許 INACTIVE target，且需在 JSON body 帶最新 expectedVersion；缺少、null 或過期回 409 RESOURCE_VERSION_CONFLICT；不提供 restore。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/HouseCardController.java\n\nPolicy：SUPPLY_HOUSE_CARD:DELETE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/houseCard/{houseCardId}/bookBalance — 人工調整 HOUSE Card 帳面餘額",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/houseCard/{{houseCardId}}/bookBalance",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "houseCard",
                    "{{houseCardId}}",
                    "bookBalance"
                  ],
                  "query": []
                },
                "description": "以絕對 targetBalance（≥ 0）設定帳面餘額，單步生效；同交易寫 MANUAL_ADJUSTMENT balance log 與 HIGH audit 並升 version。先比 idempotencyKey：同卡同 key 同 payload 回首次結果、不同 payload 回 409；再比 expectedVersion。目標值等於目前帳面餘額為 no-op。帳面餘額不作 House Withdrawal authority。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/HouseCardController.java\n\nPolicy：SUPPLY_HOUSE_CARD:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"targetBalance\": {{targetBalance}},\n  \"reason\": \"{{reason}}\",\n  \"expectedVersion\": {{expectedVersion}},\n  \"idempotencyKey\": \"{{idempotencyKey}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "HouseCardTransaction",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/houseCardTransactions/page — 分頁查詢交易紀錄",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/houseCardTransactions/page",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "houseCardTransactions",
                    "page"
                  ],
                  "query": [
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    },
                    {
                      "key": "matchStatus",
                      "value": "{{matchStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "bankId",
                      "value": "{{bankId}}",
                      "disabled": true
                    },
                    {
                      "key": "currencyId",
                      "value": "{{currencyId}}",
                      "disabled": true
                    },
                    {
                      "key": "orderNo",
                      "value": "{{orderNo}}",
                      "disabled": true
                    },
                    {
                      "key": "supplierId",
                      "value": "{{supplierId}}",
                      "disabled": true
                    },
                    {
                      "key": "supplyChannelId",
                      "value": "{{supplyChannelId}}",
                      "disabled": true
                    },
                    {
                      "key": "methodCode",
                      "value": "{{methodCode}}",
                      "disabled": true
                    },
                    {
                      "key": "from",
                      "value": "{{from}}",
                      "disabled": true
                    },
                    {
                      "key": "until",
                      "value": "{{until}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "Superadmin 未帶 methodCode 為 House Card 與 Supply Channel 交易總覽（依 transactionTime desc、sourceType、id desc 穩定排序，total 為兩表筆數相加）；Prefix 固定 own Agent 的 House Card 交易、Supplier 固定 own Supplier 的 Supply Channel 交易；agentId 只查 House Card、supplierId／supplyChannelId 只查 Supply Channel；from／until 為 UTC half-open，預設最近 1 天、最多 31 天，(pageNumber+1)×pageSize 最多 10,000，超過 400；所有帳號皆遮罩。單層 ResponseVo，data 為 PageVo。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/HouseCardTransactionController.java\n\nPolicy：SUPPLY_TRANSACTION_WORKSPACE:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "GET /bo/v2/houseCardTransactions/export — 匯出交易紀錄 CSV",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/houseCardTransactions/export",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "houseCardTransactions",
                    "export"
                  ],
                  "query": [
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    },
                    {
                      "key": "matchStatus",
                      "value": "{{matchStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "bankId",
                      "value": "{{bankId}}",
                      "disabled": true
                    },
                    {
                      "key": "currencyId",
                      "value": "{{currencyId}}",
                      "disabled": true
                    },
                    {
                      "key": "orderNo",
                      "value": "{{orderNo}}",
                      "disabled": true
                    },
                    {
                      "key": "supplierId",
                      "value": "{{supplierId}}",
                      "disabled": true
                    },
                    {
                      "key": "supplyChannelId",
                      "value": "{{supplyChannelId}}",
                      "disabled": true
                    },
                    {
                      "key": "methodCode",
                      "value": "{{methodCode}}",
                      "disabled": true
                    },
                    {
                      "key": "from",
                      "value": "{{from}}",
                      "disabled": true
                    },
                    {
                      "key": "until",
                      "value": "{{until}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "共用 page 的 scope／filters／時間區間／projection／排序並匯出全部符合列（含 sourceType、transactionNo）；先 COUNT，超過 100,000 筆 400；兩表 keyset 每批 500 筆交錯合併寫入加密暫存檔，不整份留在記憶體；帳號僅遮罩值、不含 raw notification；formula escape，UTF-8 without BOM；依查詢涵蓋的表各寫一筆 secret-safe export Audit，交易提交後才交付 bytes。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/HouseCardTransactionController.java\n\nPolicy：SUPPLY_TRANSACTION_WORKSPACE:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "GET /bo/v2/houseCardTransactions/{transactionNo} — 取得交易紀錄",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/houseCardTransactions/{{transactionNo}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "houseCardTransactions",
                    "{{transactionNo}}"
                  ],
                  "query": []
                },
                "description": "依 transactionNo 前綴選表後套身分範圍；前綴不符、跨 scope 與不存在均回相同 not-found representation。單層 ResponseVo，data 為交易 VO。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/HouseCardTransactionController.java\n\nPolicy：SUPPLY_TRANSACTION_WORKSPACE:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "GET /bo/v2/houseCardTransactions/{transactionNo}/raw-content — 讀取交易 raw notification",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/houseCardTransactions/{{transactionNo}}/raw-content",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "houseCardTransactions",
                    "{{transactionNo}}",
                    "raw-content"
                  ],
                  "query": []
                },
                "description": "House Card 或 Supply Channel 交易 scope check 後解密為 text/plain，並以 Cache-Control no-store 防止 client cache。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/HouseCardTransactionController.java\n\nPolicy：SUPPLY_TRANSACTION_WORKSPACE:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "GET /bo/v2/houseCardTransactions/{transactionNo}/manualMatch/candidates — 列出人工匹配候選",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/houseCardTransactions/{{transactionNo}}/manualMatch/candidates",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "houseCardTransactions",
                    "{{transactionNo}}",
                    "manualMatch",
                    "candidates"
                  ],
                  "query": [
                    {
                      "key": "orderNo",
                      "value": "{{orderNo}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "House Card 交易：同 Agent、同 HOUSE、ASSIGNED 且未被 HOUSE transaction 結案的 Deposit order；Supply Channel 交易：同 Supplier、同 Supply Channel、同幣別、ASSIGNED、current attempt 未逾期且未被 Supply Channel 交易匹配的 Deposit order；皆不以金額或 payer mismatch 排除，也不套用自動配對時間窗。可匹配狀態：matchStatus 為 UNMATCHED、PENDING_REVIEW 或 MATCH_FAILED，且交易已對應 House Card 或 Supply Channel，或為無卡交易（配對同 Agent、金額相同的 AGENT_ACCOUNT 單，#992）；MATCHED 或 Supply Channel 交易尚未對應 Supply Channel 回 404；House Card 與 Supply Channel 交易持鎖重驗失敗的 409 TRANSACTION_MATCH_CONFLICT 只出現在 PUT manualMatch。單層 ResponseVo，data 為 PageVo。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/HouseCardTransactionController.java\n\nPolicy：SUPPLY_TRANSACTION_WORKSPACE:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "PUT /bo/v2/houseCardTransactions/{transactionNo}/manualMatch — 人工匹配交易",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/houseCardTransactions/{{transactionNo}}/manualMatch",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "houseCardTransactions",
                    "{{transactionNo}}",
                    "manualMatch"
                  ],
                  "query": []
                },
                "description": "先鎖 target Deposit order 再鎖 transaction，持鎖重驗後原子結案（House Card 或 Supply Channel；Supply Channel 與自動匹配同一結算：結算、扣保留、Supplier PT、callback 同交易）；reason 必填且不會回顯；被拒寫 WARN。可匹配狀態：matchStatus 為 UNMATCHED、PENDING_REVIEW 或 MATCH_FAILED，且交易已對應 House Card 或 Supply Channel，或為無卡交易（配對同 Agent、金額相同的 AGENT_ACCOUNT 單，#992）；MATCHED 或 Supply Channel 交易尚未對應 Supply Channel 回 404。範圍外或候選不合格也回 404；House Card 與 Supply Channel 交易持鎖重驗失敗皆回 409 TRANSACTION_MATCH_CONFLICT。單層 ResponseVo，data 為結案後交易 VO。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/HouseCardTransactionController.java\n\nPolicy：SUPPLY_TRANSACTION_WORKSPACE:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"depositOrderId\": {{depositOrderId}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "ManualNotificationBatch",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/notificationBatches/{batchId} — 查詢人工通知批次進度",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/notificationBatches/{{batchId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "notificationBatches",
                    "{{batchId}}"
                  ],
                  "query": []
                },
                "description": "來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/ManualNotificationBatchController.java\n\nPolicy：SYSTEM_NOTIFICATION_SEND:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/notificationBatches — 受理人工通知批次",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/notificationBatches",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "notificationBatches"
                  ],
                  "query": []
                },
                "description": "首次受理在同一交易固定完整收件人、channel 與內容並寫入 audit；同 requestKey 相同內容回原批次，不同內容回 conflict。通知建立與 FCM 派送於背景進行。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/ManualNotificationBatchController.java\n\nPolicy：SYSTEM_NOTIFICATION_SEND:INSERT\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"targetType\": \"{{targetType}}\",\n  \"supplierIds\": [{{supplierId}}],\n  \"eventType\": \"{{eventType}}\",\n  \"title\": \"{{title}}\",\n  \"body\": \"{{body}}\",\n  \"reason\": \"{{reason}}\",\n  \"requestKey\": \"{{requestKey}}\",\n  \"deliveryChannels\": [\"IN_APP\", \"FCM\"]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "NotificationHistory",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/notificationHistory/page — 查詢通知歷史分頁",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/notificationHistory/page",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "notificationHistory",
                    "page"
                  ],
                  "query": [
                    {
                      "key": "deliveryChannel",
                      "value": "{{deliveryChannel}}",
                      "disabled": true
                    },
                    {
                      "key": "supplierId",
                      "value": "{{supplierId}}",
                      "disabled": true
                    },
                    {
                      "key": "gatewayId",
                      "value": "{{gatewayId}}",
                      "disabled": true
                    },
                    {
                      "key": "cardholderId",
                      "value": "{{cardholderId}}",
                      "disabled": true
                    },
                    {
                      "key": "category",
                      "value": "{{category}}",
                      "disabled": true
                    },
                    {
                      "key": "type",
                      "value": "{{type}}",
                      "disabled": true
                    },
                    {
                      "key": "origin",
                      "value": "{{origin}}",
                      "disabled": true
                    },
                    {
                      "key": "from",
                      "value": "{{from}}",
                      "disabled": true
                    },
                    {
                      "key": "to",
                      "value": "{{to}}",
                      "disabled": true
                    },
                    {
                      "key": "search",
                      "value": "{{search}}",
                      "disabled": true
                    },
                    {
                      "key": "read",
                      "value": "{{read}}",
                      "disabled": true
                    },
                    {
                      "key": "dispatchStatus",
                      "value": "{{dispatchStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/NotificationHistoryController.java\n\nPolicy：SYSTEM_NOTIFICATION_HISTORY:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/notificationHistory/options — 取得通知 type 選項",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/notificationHistory/options",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "notificationHistory",
                    "options"
                  ],
                  "query": []
                },
                "description": "依 category 分組的 raw root 陣列，category 依 ORDERS、CARDS、SECURITY、SYSTEM，types 依 NotificationEventType 宣告順序；所有 types 聯集即 page 的 type filter 可用值。由 Backend enum 產生，新增 type 時自動出現。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/NotificationHistoryController.java\n\nPolicy：SYSTEM_NOTIFICATION_HISTORY:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/notificationHistory/{id} — 查詢通知歷史詳情",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/notificationHistory/{{id}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "notificationHistory",
                    "{{id}}"
                  ],
                  "query": []
                },
                "description": "來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/NotificationHistoryController.java\n\nPolicy：SYSTEM_NOTIFICATION_HISTORY:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "OverviewAccountRead",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/paymentAccounts/{id} — 取得 Payment Account",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/paymentAccounts/{{id}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "paymentAccounts",
                    "{{id}}"
                  ],
                  "query": []
                },
                "description": "fresh scoped owner chain；完整 canonical 帳號、獨立 status／Freeze／intent 與 native financial snapshot；nullable creator／modifier 為核准建立者與最近實際異動者，歷史資料為 null。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/OverviewAccountReadController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "GET /bo/v2/paymentAccountApplications/{id} — 取得 Application",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/paymentAccountApplications/{{id}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "paymentAccountApplications",
                    "{{id}}"
                  ],
                  "query": []
                },
                "description": "PENDING／terminal history，非對應 Account 欄位為 null；取消沒有 reviewer；nullable creator／modifier 為申請者與最近終態操作者，歷史資料為 null。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/OverviewAccountReadController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "GET /bo/v2/paymentAccounts/{id}/pendingOrders — 查詢未解除義務",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/paymentAccounts/{{id}}/pendingOrders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "paymentAccounts",
                    "{{id}}",
                    "pendingOrders"
                  ],
                  "query": [
                    {
                      "key": "direction",
                      "value": "{{direction}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "含 expired／review held；assignedTime ASC、direction ASC、attemptId ASC；workspace 未 ready 不提供假 action。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/OverviewAccountReadController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "GET /bo/v2/paymentAccounts/{id}/dailyUsage — 查詢原日 Daily Usage",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/paymentAccounts/{{id}}/dailyUsage?direction={{direction}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "paymentAccounts",
                    "{{id}}",
                    "dailyUsage"
                  ],
                  "query": [
                    {
                      "key": "direction",
                      "value": "{{direction}}",
                      "disabled": false
                    },
                    {
                      "key": "businessDate",
                      "value": "{{businessDate}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "direction required；businessDate 預設 Supplier local today，future 拒絕。Manual adjustment 不納 used。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/OverviewAccountReadController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "GET /bo/v2/paymentAccounts/{id}/dailyUsage/entries — 查詢 Daily Usage contributions",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/paymentAccounts/{{id}}/dailyUsage/entries?direction={{direction}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "paymentAccounts",
                    "{{id}}",
                    "dailyUsage",
                    "entries"
                  ],
                  "query": [
                    {
                      "key": "direction",
                      "value": "{{direction}}",
                      "disabled": false
                    },
                    {
                      "key": "businessDate",
                      "value": "{{businessDate}}",
                      "disabled": true
                    },
                    {
                      "key": "kinds",
                      "value": "{{kinds}}",
                      "disabled": true,
                      "description": "可重複加入同名 query parameter。"
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "kinds repeated enum；eventTime／kind／sourceId ASC；不可從 terminal reserve 或全部 Ledger 猜 used。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/OverviewAccountReadController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "GET /bo/v2/paymentAccounts/{id}/balanceLogs — 查詢 own Ledger",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/paymentAccounts/{{id}}/balanceLogs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "paymentAccounts",
                    "{{id}}",
                    "balanceLogs"
                  ],
                  "query": [
                    {
                      "key": "from",
                      "value": "{{from}}",
                      "disabled": true
                    },
                    {
                      "key": "to",
                      "value": "{{to}}",
                      "disabled": true
                    },
                    {
                      "key": "entryType",
                      "value": "{{entryType}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "固定 time window，createTime／id DESC；逐 fact before＋delta＝after，不當 Cash summary 或 Order付款證據。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/OverviewAccountReadController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "OverviewActivity",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/paymentAccounts/{id}/activities — 查詢 native Account Activity",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/paymentAccounts/{{id}}/activities",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "paymentAccounts",
                    "{{id}}",
                    "activities"
                  ],
                  "query": [
                    {
                      "key": "from",
                      "value": "{{from}}",
                      "disabled": true
                    },
                    {
                      "key": "to",
                      "value": "{{to}}",
                      "disabled": true
                    },
                    {
                      "key": "types",
                      "value": "{{types}}",
                      "disabled": true,
                      "description": "可重複加入同名 query parameter。"
                    },
                    {
                      "key": "statusKinds",
                      "value": "{{statusKinds}}",
                      "disabled": true,
                      "description": "可重複加入同名 query parameter。"
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "own immutable attempt／獨立 Ledger；eventTime DESC、type ASC、sourceId DESC；pageNumber zero-based／pageSize 1..500；Withdrawal provenance 缺失 fail closed。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/OverviewActivityController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "GET /bo/v2/paymentAccounts/{id}/activities/summary — 查詢同窗 native Activity summary",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/paymentAccounts/{{id}}/activities/summary",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "paymentAccounts",
                    "{{id}}",
                    "activities",
                    "summary"
                  ],
                  "query": [
                    {
                      "key": "from",
                      "value": "{{from}}",
                      "disabled": true
                    },
                    {
                      "key": "to",
                      "value": "{{to}}",
                      "disabled": true
                    },
                    {
                      "key": "types",
                      "value": "{{types}}",
                      "disabled": true,
                      "description": "可重複加入同名 query parameter。"
                    },
                    {
                      "key": "statusKinds",
                      "value": "{{statusKinds}}",
                      "disabled": true,
                      "description": "可重複加入同名 query parameter。"
                    }
                  ]
                },
                "description": "不接受 page；distinct formal Order counts／attempt obligations；獨立 Ledger 不納 Cash totals。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/OverviewActivityController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "GET /bo/v2/paymentAccounts/{id}/activities/csv — 下載一致 snapshot Activity CSV",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/paymentAccounts/{{id}}/activities/csv",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "paymentAccounts",
                    "{{id}}",
                    "activities",
                    "csv"
                  ],
                  "query": [
                    {
                      "key": "from",
                      "value": "{{from}}",
                      "disabled": true
                    },
                    {
                      "key": "to",
                      "value": "{{to}}",
                      "disabled": true
                    },
                    {
                      "key": "types",
                      "value": "{{types}}",
                      "disabled": true,
                      "description": "可重複加入同名 query parameter。"
                    },
                    {
                      "key": "statusKinds",
                      "value": "{{statusKinds}}",
                      "disabled": true,
                      "description": "可重複加入同名 query parameter。"
                    }
                  ]
                },
                "description": "無 page／row cap；bounded keyset、UTF-8 無 BOM、RFC 4180、formula guard；包含已授權完整帳號，不含人工原文。帳號以文字匯入，不承諾 Excel 自動判型。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/OverviewActivityController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "OverviewBrowse",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/cardholderOverview/options — 查詢 scoped Overview 選項",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/cardholderOverview/options?type={{type}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "cardholderOverview",
                    "options"
                  ],
                  "query": [
                    {
                      "key": "type",
                      "value": "{{type}}",
                      "disabled": false
                    },
                    {
                      "key": "keyword",
                      "value": "{{keyword}}",
                      "disabled": true
                    },
                    {
                      "key": "supplierId",
                      "value": "{{supplierId}}",
                      "disabled": true
                    },
                    {
                      "key": "gatewayId",
                      "value": "{{gatewayId}}",
                      "disabled": true
                    },
                    {
                      "key": "currencyId",
                      "value": "{{currencyId}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "type 必填；keyword wildcards escape；pageNumber zero-based／pageSize 1..500，不 cap；歷史 inactive 不表示 create eligible。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/OverviewBrowseController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "GET /bo/v2/cardholderOverview/summary — 查詢 Overview summary",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/cardholderOverview/summary",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "cardholderOverview",
                    "summary"
                  ],
                  "query": [
                    {
                      "key": "supplierId",
                      "value": "{{supplierId}}",
                      "disabled": true
                    },
                    {
                      "key": "gatewayId",
                      "value": "{{gatewayId}}",
                      "disabled": true
                    },
                    {
                      "key": "cardholderId",
                      "value": "{{cardholderId}}",
                      "disabled": true
                    },
                    {
                      "key": "username",
                      "value": "{{username}}",
                      "disabled": true
                    },
                    {
                      "key": "displayName",
                      "value": "{{displayName}}",
                      "disabled": true
                    },
                    {
                      "key": "cardholderStatus",
                      "value": "{{cardholderStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "loginStatus",
                      "value": "{{loginStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "drainState",
                      "value": "{{drainState}}",
                      "disabled": true
                    },
                    {
                      "key": "rowType",
                      "value": "{{rowType}}",
                      "disabled": true
                    },
                    {
                      "key": "bankId",
                      "value": "{{bankId}}",
                      "disabled": true
                    },
                    {
                      "key": "accountStatus",
                      "value": "{{accountStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "freezeStatus",
                      "value": "{{freezeStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "applicationStatus",
                      "value": "{{applicationStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "accountNumber",
                      "value": "{{accountNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "accountLast4",
                      "value": "{{accountLast4}}",
                      "disabled": true
                    },
                    {
                      "key": "hasBalance",
                      "value": "{{hasBalance}}",
                      "disabled": true
                    },
                    {
                      "key": "hasPendingOrders",
                      "value": "{{hasPendingOrders}}",
                      "disabled": true
                    },
                    {
                      "key": "view",
                      "value": "{{view}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "完整 filters；ACCOUNT aggregate 不受 child Bank filter 改寫，CARD 只計 matching 正式 Accounts；不跨 Currency sum。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/OverviewBrowseController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "GET /bo/v2/cardholderOverview/cardholders — 查詢 Cardholder Overview",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/cardholderOverview/cardholders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "cardholderOverview",
                    "cardholders"
                  ],
                  "query": [
                    {
                      "key": "supplierId",
                      "value": "{{supplierId}}",
                      "disabled": true
                    },
                    {
                      "key": "gatewayId",
                      "value": "{{gatewayId}}",
                      "disabled": true
                    },
                    {
                      "key": "cardholderId",
                      "value": "{{cardholderId}}",
                      "disabled": true
                    },
                    {
                      "key": "username",
                      "value": "{{username}}",
                      "disabled": true
                    },
                    {
                      "key": "displayName",
                      "value": "{{displayName}}",
                      "disabled": true
                    },
                    {
                      "key": "cardholderStatus",
                      "value": "{{cardholderStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "loginStatus",
                      "value": "{{loginStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "drainState",
                      "value": "{{drainState}}",
                      "disabled": true
                    },
                    {
                      "key": "rowType",
                      "value": "{{rowType}}",
                      "disabled": true
                    },
                    {
                      "key": "bankId",
                      "value": "{{bankId}}",
                      "disabled": true
                    },
                    {
                      "key": "accountStatus",
                      "value": "{{accountStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "freezeStatus",
                      "value": "{{freezeStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "applicationStatus",
                      "value": "{{applicationStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "accountNumber",
                      "value": "{{accountNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "accountLast4",
                      "value": "{{accountLast4}}",
                      "disabled": true
                    },
                    {
                      "key": "hasBalance",
                      "value": "{{hasBalance}}",
                      "disabled": true
                    },
                    {
                      "key": "hasPendingOrders",
                      "value": "{{hasPendingOrders}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "ACCOUNT view 含合法零帳戶 CH；gatewayId／cardholderId ASC；session 只讀重算，不 renew／revoke；pageNumber zero-based，pageSize 1..500。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/OverviewBrowseController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "GET /bo/v2/cardholderOverview/cardholders/{cardholderId}/cards — 查詢單一 Cardholder 混合卡列",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/cardholderOverview/cardholders/{{cardholderId}}/cards",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "cardholderOverview",
                    "cardholders",
                    "{{cardholderId}}",
                    "cards"
                  ],
                  "query": [
                    {
                      "key": "rowType",
                      "value": "{{rowType}}",
                      "disabled": true
                    },
                    {
                      "key": "bankId",
                      "value": "{{bankId}}",
                      "disabled": true
                    },
                    {
                      "key": "accountStatus",
                      "value": "{{accountStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "freezeStatus",
                      "value": "{{freezeStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "applicationStatus",
                      "value": "{{applicationStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "accountNumber",
                      "value": "{{accountNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "accountLast4",
                      "value": "{{accountLast4}}",
                      "disabled": true
                    },
                    {
                      "key": "hasBalance",
                      "value": "{{hasBalance}}",
                      "disabled": true
                    },
                    {
                      "key": "hasPendingOrders",
                      "value": "{{hasPendingOrders}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "先驗 CH scope；預設 Application 只含 PENDING；APPLICATION 先、resourceId ASC；每列帶 nullable creator／modifier；pageNumber zero-based，pageSize 1..500。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/OverviewBrowseController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "GET /bo/v2/cardholderOverview/cards — 查詢 scoped 混合卡列",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/cardholderOverview/cards",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "cardholderOverview",
                    "cards"
                  ],
                  "query": [
                    {
                      "key": "supplierId",
                      "value": "{{supplierId}}",
                      "disabled": true
                    },
                    {
                      "key": "gatewayId",
                      "value": "{{gatewayId}}",
                      "disabled": true
                    },
                    {
                      "key": "cardholderId",
                      "value": "{{cardholderId}}",
                      "disabled": true
                    },
                    {
                      "key": "username",
                      "value": "{{username}}",
                      "disabled": true
                    },
                    {
                      "key": "displayName",
                      "value": "{{displayName}}",
                      "disabled": true
                    },
                    {
                      "key": "cardholderStatus",
                      "value": "{{cardholderStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "loginStatus",
                      "value": "{{loginStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "drainState",
                      "value": "{{drainState}}",
                      "disabled": true
                    },
                    {
                      "key": "rowType",
                      "value": "{{rowType}}",
                      "disabled": true
                    },
                    {
                      "key": "bankId",
                      "value": "{{bankId}}",
                      "disabled": true
                    },
                    {
                      "key": "accountStatus",
                      "value": "{{accountStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "freezeStatus",
                      "value": "{{freezeStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "applicationStatus",
                      "value": "{{applicationStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "accountNumber",
                      "value": "{{accountNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "accountLast4",
                      "value": "{{accountLast4}}",
                      "disabled": true
                    },
                    {
                      "key": "hasBalance",
                      "value": "{{hasBalance}}",
                      "disabled": true
                    },
                    {
                      "key": "hasPendingOrders",
                      "value": "{{hasPendingOrders}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "固定 CARD view；batch master display；Application 金融欄位為 null，不假零；每列帶 nullable creator／modifier；pageNumber zero-based，pageSize 1..500。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/OverviewBrowseController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "PaymentAccount",
      "item": [
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/paymentAccountApplications — 建立 Payment Account Application",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/paymentAccountApplications",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "paymentAccountApplications"
                  ],
                  "query": []
                },
                "description": "建立 scoped PENDING，不建立正式 Account；同 canonical command replay 首次 HTTP 201／完整結果。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/PaymentAccountController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:INSERT\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"cardholderId\": {{cardholderId}},\n  \"bankId\": {{bankId}},\n  \"accountNumber\": \"{{accountNumber}}\",\n  \"accountName\": \"{{accountName}}\",\n  \"displayName\": \"{{displayName}}\",\n  \"reason\": \"{{reason}}\",\n  \"idempotencyKey\": \"{{idempotencyKey}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "POST /bo/v2/paymentAccountApplications/{id}/approve — 核准 Application",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/paymentAccountApplications/{{id}}/approve",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "paymentAccountApplications",
                    "{{id}}",
                    "approve"
                  ],
                  "query": []
                },
                "description": "fresh scope／self-review → replay → 首次 version/state；建立 ACTIVE、UNFROZEN、雙方向 disabled、金融值零的正式 Account。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/PaymentAccountController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"reason\": \"{{reason}}\",\n  \"idempotencyKey\": \"{{idempotencyKey}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "POST /bo/v2/paymentAccountApplications/{id}/reject — 拒絕 Application",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/paymentAccountApplications/{{id}}/reject",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "paymentAccountApplications",
                    "{{id}}",
                    "reject"
                  ],
                  "query": []
                },
                "description": "需要 fresh scope、非自審、首次 PENDING 與 expectedVersion；不要求目前 Bank／owner operational ACTIVE。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/PaymentAccountController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"reason\": \"{{reason}}\",\n  \"idempotencyKey\": \"{{idempotencyKey}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "POST /bo/v2/paymentAccountApplications/{id}/cancel — 取消 Application",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/paymentAccountApplications/{{id}}/cancel",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "paymentAccountApplications",
                    "{{id}}",
                    "cancel"
                  ],
                  "query": []
                },
                "description": "Terminal CANCELLED，reviewer／reviewTime／reviewReason 保持 null；同 key replay 首次結果。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/PaymentAccountController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"reason\": \"{{reason}}\",\n  \"idempotencyKey\": \"{{idempotencyKey}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "PUT /bo/v2/paymentAccounts/{id}/status — 更新 Account 營運狀態",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/paymentAccounts/{{id}}/status",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "paymentAccounts",
                    "{{id}}",
                    "status"
                  ],
                  "query": []
                },
                "description": "ACTIVE／INACTIVE；Superadmin、Supplier、Gateway 限 owner chain 範圍。先驗 version／state，再判 no-op；INACTIVE 可 cleanup。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/PaymentAccountController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"accountStatus\": \"{{accountStatus}}\",\n  \"expectedVersion\": {{expectedVersion}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "PUT /bo/v2/paymentAccounts/{id}/directionAvailability — 更新 Account 方向 intent",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/paymentAccounts/{{id}}/directionAvailability",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "paymentAccounts",
                    "{{id}}",
                    "directionAvailability"
                  ],
                  "query": []
                },
                "description": "Superadmin、Supplier、Gateway 限 owner chain 範圍。DEPOSIT／WITHDRAWAL 的 enabled boolean；enable 需 ACTIVE／eligible，disable 可 cleanup，不能解除 Freeze。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/PaymentAccountController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"direction\": \"{{direction}}\",\n  \"enabled\": {{enabled}},\n  \"expectedVersion\": {{expectedVersion}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "POST /bo/v2/paymentAccounts/{id}/balanceAdjustments — 調整 Account 絕對餘額",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/paymentAccounts/{{id}}/balanceAdjustments",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "paymentAccounts",
                    "{{id}}",
                    "balanceAdjustments"
                  ],
                  "query": []
                },
                "description": "Superadmin、Supplier、Gateway 限 owner chain 範圍。Money string，不是 delta／付款證據；FROZEN 拒絕、不能低於 reserve。同 key 回 immutable 首次 balance result。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/PaymentAccountController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"newBalance\": \"{{newBalance}}\",\n  \"expectedVersion\": {{expectedVersion}},\n  \"idempotencyKey\": \"{{idempotencyKey}}\",\n  \"reasonCategory\": \"{{reasonCategory}}\",\n  \"reason\": \"{{reason}}\",\n  \"evidenceReference\": \"{{evidenceReference}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "POST /bo/v2/paymentAccounts/{id}/unfreeze — 解除 Account Freeze",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/paymentAccounts/{{id}}/unfreeze",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "paymentAccounts",
                    "{{id}}",
                    "unfreeze"
                  ],
                  "query": []
                },
                "description": "Superadmin、Supplier、Gateway 限 owner chain 範圍；先驗 version。UNFROZEN 同值 no-op，不建立 audit 或 metadata 異動。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/PaymentAccountController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "PUT /bo/v2/paymentAccounts/{id}/profile — 修改 Account 戶名與展示名稱",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/paymentAccounts/{{id}}/profile",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "paymentAccounts",
                    "{{id}}",
                    "profile"
                  ],
                  "query": []
                },
                "description": "Superadmin、Supplier、Gateway 限 owner chain 範圍。持鎖後重新計算 editScope，有變更的欄位超出範圍即整筆拒絕；同值 no-op 不改 version 與 audit。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/PaymentAccountController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"displayName\": \"{{displayName}}\",\n  \"accountName\": \"{{accountName}}\",\n  \"bankId\": {{bankId}},\n  \"accountNumber\": \"{{accountNumber}}\",\n  \"expectedVersion\": {{expectedVersion}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "DELETE /bo/v2/paymentAccounts/{id} — 刪除 Account",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/paymentAccounts/{{id}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "paymentAccounts",
                    "{{id}}"
                  ],
                  "query": []
                },
                "description": "Superadmin、Supplier、Gateway 限 owner chain 範圍。INACTIVE、餘額與 reserved 皆零、無未解除 obligation 才可刪；同交易釋放此卡全部 identity、寫 audit 與 CARD_DELETED，不可恢復。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/PaymentAccountController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:DELETE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "PaymentAccountCurrencyLimit",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/paymentAccountCurrencyLimits — 查詢幣別新卡預設限額",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/paymentAccountCurrencyLimits",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "paymentAccountCurrencyLimits"
                  ],
                  "query": []
                },
                "description": "Superadmin 與 Prefix 可查（Prefix 需 SYSTEM_CONFIGURATION VIEW grant，唯讀）；PUT 只限 Superadmin。回全域預設，只回已設定的幣別，沒有列的幣別新卡不設限；Supplier、Gateway 403。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/PaymentAccountCurrencyLimitController.java\n\nPolicy：SYSTEM_CONFIGURATION:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "PUT /bo/v2/paymentAccountCurrencyLimits/{currencyId} — 設定幣別新卡預設限額",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/paymentAccountCurrencyLimits/{{currencyId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "paymentAccountCurrencyLimits",
                    "{{currencyId}}"
                  ],
                  "query": []
                },
                "description": "只限 Superadmin（Prefix 雖有 SYSTEM_CONFIGURATION grant 仍 403）；整列取代，限額 null 表示不限制；systemMaxCeiling 只限制單一帳戶覆寫的 balanceCeiling，不限制幣別預設。NEW_ACCOUNTS_ONLY 只影響之後核准建立的帳戶；BACKFILL 同交易把同幣別 limitOverridden = false 的帳戶改為新預設，已覆寫帳戶略過。實際異動寫一筆 HIGH audit。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/PaymentAccountCurrencyLimitController.java\n\nPolicy：SYSTEM_CONFIGURATION:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"dailyAmountLimit\": \"{{dailyAmountLimit}}\",\n  \"dailyTxLimit\": {{dailyTxLimit}},\n  \"balanceCeiling\": \"{{balanceCeiling}}\",\n  \"systemMaxCeiling\": \"{{systemMaxCeiling}}\",\n  \"applyMode\": \"{{applyMode}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "PaymentAccountLimit",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/paymentAccounts/{id}/limits — 查詢帳戶限額",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/paymentAccounts/{{id}}/limits",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "paymentAccounts",
                    "{{id}}",
                    "limits"
                  ],
                  "query": []
                },
                "description": "Overview R23；Superadmin 全域，Supplier、Gateway 限 owner chain 範圍（scope 外 404）；回帳戶目前三項限額、是否已覆寫與該幣別 System Max Ceiling。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/PaymentAccountLimitController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "PUT /bo/v2/paymentAccounts/{id}/limits — 覆寫帳戶限額",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/paymentAccounts/{{id}}/limits",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "paymentAccounts",
                    "{{id}}",
                    "limits"
                  ],
                  "query": []
                },
                "description": "Overview R24；Superadmin 全域，Supplier、Gateway 限 owner chain 範圍（scope 外 404），Balance Ceiling 不得超過幣別 System Max Ceiling；整組取代三項限額並標記 limitOverridden，之後幣別預設回補略過此帳戶。幣別設有 System Max Ceiling 時 balanceCeiling 必填且不得超過（400 balanceCeiling）；stale expectedVersion 409／40051。實際異動寫一筆 HIGH audit，同值為 no-op。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/PaymentAccountLimitController.java\n\nPolicy：SUPPLY_CARDHOLDER_OVERVIEW:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"dailyAmountLimit\": \"{{dailyAmountLimit}}\",\n  \"dailyTxLimit\": {{dailyTxLimit}},\n  \"balanceCeiling\": \"{{balanceCeiling}}\",\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "Supplier Account",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/supplierAccounts — 分頁查詢 Supplier account",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplierAccounts",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplierAccounts"
                  ],
                  "query": [
                    {
                      "key": "supplierId",
                      "value": "{{supplierId}}",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "{{status}}",
                      "disabled": true
                    },
                    {
                      "key": "account",
                      "value": "{{account}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "Superadmin 可依 supplierId 查詢；Supplier Admin 忽略 supplierId、固定 own Supplier，可見含 SUPPLIER_ADMIN 的全部帳號；Supplier User 回 403。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplierAccountController.java\n\nPolicy：SUPPLIER_ACCOUNT_LIST:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。\n\nA1/A2 contract：gaReady 只表示保存 TOTP secret、不解密、不表示 MFA 通過；lastLoginTime 取 formal lastSessionIssuedAt 的 ISO-8601 UTC，temporary challenge 不算登入。creator／modifier：建立者與最近管理異動者 account snapshot（#549），登入失敗、批次撤銷等簿記不改寫，歷史資料為 null。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/supplierAccounts/{accountId} — 取得單筆 Supplier account",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplierAccounts/{{accountId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplierAccounts",
                    "{{accountId}}"
                  ],
                  "query": []
                },
                "description": "跨 Supplier、已刪除或不存在 target 一律回 not-found，避免存在性洩漏。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplierAccountController.java\n\nPolicy：SUPPLIER_ACCOUNT_LIST:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。\n\nA1/A2 contract：gaReady 與 nullable lastLoginTime，與列表相同；不含 credential material。creator／modifier：建立者與最近管理異動者 account snapshot（#549），登入失敗、批次撤銷等簿記不改寫，歷史資料為 null。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/supplierAccounts — 建立後續 Supplier user account",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplierAccounts",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplierAccounts"
                  ],
                  "query": []
                },
                "description": "固定建立 SUPPLIER_USER；指定密碼可直接使用，建立時不生成或回傳 TOTP credential。Supplier Admin 忽略 supplierId，建立於 own Supplier。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplierAccountController.java\n\nPolicy：SUPPLIER_ACCOUNT_LIST:INSERT\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplierId\": {{supplierId}},\n  \"account\": \"{{account}}\",\n  \"password\": \"{{password}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "POST /bo/v2/supplierAccounts/{accountId}/totp/reset — 生成或重設 Supplier account TOTP",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplierAccounts/{{accountId}}/totp/reset",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplierAccounts",
                    "{{accountId}}",
                    "totp",
                    "reset"
                  ],
                  "query": []
                },
                "description": "Superadmin 可操作；Supplier Admin 僅限 own SUPPLIER_USER。成功後覆蓋舊 secret、撤銷 target 全部 session，且只在本次 response 交付新 secret。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplierAccountController.java\n\nPolicy：SUPPLIER_ACCOUNT_LIST:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "PUT /bo/v2/supplierAccounts/{accountId}/status — 更新 Supplier account 狀態",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplierAccounts/{{accountId}}/status",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplierAccounts",
                    "{{accountId}}",
                    "status"
                  ],
                  "query": []
                },
                "description": "使用 optimistic lock；狀態異動撤銷既有 session，禁止 self disable 與移除最後有效 SUPPLIER_ADMIN。Supplier Admin 僅可操作 own SUPPLIER_USER。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplierAccountController.java\n\nPolicy：SUPPLIER_ACCOUNT_LIST:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"status\": \"{{status}}\",\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "DELETE /bo/v2/supplierAccounts/{accountId} — 軟刪除 Supplier account",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplierAccounts/{{accountId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplierAccounts",
                    "{{accountId}}"
                  ],
                  "query": []
                },
                "description": "使用 optimistic lock，撤銷 session 並使資料預設不可讀；禁止 self delete 與移除最後有效 SUPPLIER_ADMIN。Supplier Admin 僅可操作 own SUPPLIER_USER。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplierAccountController.java\n\nPolicy：SUPPLIER_ACCOUNT_LIST:DELETE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Supplier",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/suppliers/options — 取得啟用 Supplier 選項",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/suppliers/options",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "suppliers",
                    "options"
                  ],
                  "query": []
                },
                "description": "登入即可（AUTH_MENU_BOOTSTRAP:VIEW，不需 SUPPLIER_SETTING grant）；Superadmin 全域、Supplier 自己、Gateway 所屬 Supplier、Prefix 空清單。Supplier row 與營運狀態皆 ACTIVE；Gateway owner row ACTIVE，營運狀態不影響此選單。固定 supplierName ASC、supplierId ASC；單層 ResponseVo 完整清單。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplierController.java\n\nPolicy：AUTH_MENU_BOOTSTRAP:VIEW（登入後免 resource-action grant）\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "GET /bo/v2/suppliers — 分頁查詢 Supplier",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/suppliers",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "suppliers"
                  ],
                  "query": [
                    {
                      "key": "code",
                      "value": "{{code}}",
                      "disabled": true
                    },
                    {
                      "key": "loginId",
                      "value": "{{loginId}}",
                      "disabled": true
                    },
                    {
                      "key": "supplierName",
                      "value": "{{supplierName}}",
                      "disabled": true
                    },
                    {
                      "key": "supplierStatus",
                      "value": "{{supplierStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "僅 fresh Superadmin（Supplier 403，ADR-0482）；排除 DELETED、固定 id ASC，名稱使用 literal contains。raw PageVo。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplierController.java\n\nPolicy：SUPPLIER_SETTING:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。\n\nA1/A2 contract：creator、createTime、modifier、modifyTime：verified actor account snapshot 與 UTC LocalDateTime；未知歷史為 null，不回補。管理 API 保留既有 raw VO/PageVo，沒有新增 ResponseVo 包裝。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/suppliers/export — 匯出全部符合條件 Supplier CSV",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/suppliers/export",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "suppliers",
                    "export"
                  ],
                  "query": [
                    {
                      "key": "code",
                      "value": "{{code}}",
                      "disabled": true
                    },
                    {
                      "key": "loginId",
                      "value": "{{loginId}}",
                      "disabled": true
                    },
                    {
                      "key": "supplierName",
                      "value": "{{supplierName}}",
                      "disabled": true
                    },
                    {
                      "key": "supplierStatus",
                      "value": "{{supplierStatus}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "僅 fresh Superadmin（Supplier 403，ADR-0482）；只接受 code/loginId/supplierName/supplierStatus，拒絕分頁、owner 與 unknown/duplicate keys。單一 repeatable-read snapshot、id keyset；UTF-8 無 BOM、CRLF、formula 防護，不含 secrets、不產生 mutation audit。中途失敗終止下載，不可標記成功。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplierController.java\n\nPolicy：SUPPLIER_SETTING:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/suppliers/{supplierId} — 取得 Supplier detail",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/suppliers/{{supplierId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "suppliers",
                    "{{supplierId}}"
                  ],
                  "query": []
                },
                "description": "Superadmin 或 own Supplier（Supplier Admin／User，ADR-0482）；其他 Supplier 與不存在同為 404；不存在／DELETED 為 not-found，raw SupplierSummary 無 secret。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplierController.java\n\nPolicy：SUPPLIER_SETTING:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。\n\nA1/A2 contract：creator、createTime、modifier、modifyTime：verified actor account snapshot 與 UTC LocalDateTime；未知歷史為 null，不回補。管理 API 保留既有 raw VO/PageVo，沒有新增 ResponseVo 包裝。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/suppliers/{supplierId}/onlineCardholders — 查詢 Supplier 的 Online Cardholders",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/suppliers/{{supplierId}}/onlineCardholders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "suppliers",
                    "{{supplierId}}",
                    "onlineCardholders"
                  ],
                  "query": [
                    {
                      "key": "gatewayId",
                      "value": "{{gatewayId}}",
                      "disabled": true
                    },
                    {
                      "key": "username",
                      "value": "{{username}}",
                      "disabled": true
                    },
                    {
                      "key": "displayName",
                      "value": "{{displayName}}",
                      "disabled": true
                    },
                    {
                      "key": "loginStatus",
                      "value": "{{loginStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "Superadmin 或 own Supplier（Supplier Admin／User，ADR-0482）；其他 Supplier 與不存在同為 404；Supplier 不存在／DELETED 為 404。Online 為 loginStatus LOGGED_IN 或 LOGOUT_PENDING，委派 Overview 判定；只接受 gatewayId/username/displayName/loginStatus/pageNumber/pageSize，其他或重複 key 400。固定 gatewayId、cardholderId ASC；raw PageVo，no-store，不含金額與 availableActions。每列 version 為 Cardholder version，forceLogout／status 的 expectedVersion 直接用它。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplierController.java\n\nPolicy：SUPPLIER_SETTING:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/suppliers/{supplierId}/newCards — 查詢 Supplier 的 New Cards",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/suppliers/{{supplierId}}/newCards",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "suppliers",
                    "{{supplierId}}",
                    "newCards"
                  ],
                  "query": [
                    {
                      "key": "gatewayId",
                      "value": "{{gatewayId}}",
                      "disabled": true
                    },
                    {
                      "key": "bankId",
                      "value": "{{bankId}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "Superadmin 或 own Supplier（Supplier Admin／User，ADR-0482）；其他 Supplier 與不存在同為 404；Supplier 不存在／DELETED 為 404。New Cards 為 PENDING Payment Account Application，狀態固定不開放篩選；只接受 gatewayId/bankId/pageNumber/pageSize，其他或重複 key 400。固定 gatewayId、cardholderId、applicationId ASC；raw PageVo，no-store，含完整帳號，不含金額與 availableActions。每列 applicationVersion 為 approve／reject／cancel 的 expectedVersion。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplierController.java\n\nPolicy：SUPPLIER_SETTING:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/suppliers — 原子建立 Supplier 與 DEFAULT Gateway",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/suppliers",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "suppliers"
                  ],
                  "query": []
                },
                "description": "僅 fresh Superadmin（Supplier 403，ADR-0482）；required Currency、單一 uppercase Login ID；同交易建立雙帳號、雙 PT 與四條 lines、兩筆 unlimited configs 及單一 audit。offset 僅 Create，雙欄皆缺失／null 預設 +07:00。HTTP 200 raw 四個 root；兩組獨立 temporary password/TOTP 僅成功 commit 後交付，禁止 POST auto retry／secret replay。\n\n預設 Gateway 的 code 等於 canonical loginId；loginId 已被其他 Gateway 當 code（不分大小寫，含已刪除的列）時整筆 409 並 rollback。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplierController.java\n\nPolicy：SUPPLIER_SETTING:INSERT\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"loginId\": \"{{loginId}}\",\n  \"supplierName\": \"{{supplierName}}\",\n  \"defaultGatewayCurrencyId\": {{defaultGatewayCurrencyId}},\n  \"businessUtcOffset\": \"{{businessUtcOffset}}\",\n  \"timezone\": \"{{timezone}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/suppliers/{supplierId} — 一次儲存 Supplier 名稱與營運狀態",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/suppliers/{{supplierId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "suppliers",
                    "{{supplierId}}"
                  ],
                  "query": []
                },
                "description": "Superadmin 或 own Supplier（Supplier Admin／User，ADR-0482）；其他 Supplier 與不存在同為 404；Supplier 只能改名稱，有傳 supplierStatus 時須等於現值，否則 403；required expectedVersion，可選 name/status 有傳才更新且不可 null。offset／identity 一律拒絕；current no-op 不改 version/metadata/audit，stale no-op 仍 409。status 實際由 ACTIVE 轉 INACTIVE 時，同交易撤銷 Supplier 帳號、旗下 Gateway 帳號與 Cardholder 的 session 及推播註冊（SUPPLIER_DEACTIVATED），重新 ACTIVE 不恢復舊 session；不改 Gateway、帳號或 Cardholder 狀態。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplierController.java\n\nPolicy：SUPPLIER_SETTING:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplierName\": \"{{supplierName}}\",\n  \"supplierStatus\": \"{{supplierStatus}}\",\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/suppliers/{supplierId}/status — 更新 Supplier 營運狀態",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/suppliers/{{supplierId}}/status",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "suppliers",
                    "{{supplierId}}",
                    "status"
                  ],
                  "query": []
                },
                "description": "僅 fresh Superadmin（Supplier 403，其他 Supplier 404，ADR-0482）；相容入口委派同一 atomic update，保留 UPDATE_SUPPLIER_STATUS audit。實際轉為 INACTIVE 時同交易撤銷 Supplier 帳號、旗下 Gateway 帳號與 Cardholder 的 session 及推播註冊（SUPPLIER_DEACTIVATED），INACTIVE 期間不能登入；不改 Gateway、帳號狀態或 allocation。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplierController.java\n\nPolicy：SUPPLIER_SETTING:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplierStatus\": \"{{supplierStatus}}\",\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "DELETE /bo/v2/suppliers/{supplierId} — 軟刪除 Supplier",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/suppliers/{{supplierId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "suppliers",
                    "{{supplierId}}"
                  ],
                  "query": []
                },
                "description": "僅 fresh Superadmin（Supplier 對 own Supplier 403、其他 Supplier 404，ADR-0482）；不 cascade。任一 blocker 存在時回 409／40003，data.blockers 依固定順序一次列出所有 count>0 的 {blockerType,count}：GATEWAY（未刪除，含 DEFAULT）、SUPPLY_CHANNEL（未刪除，含 INACTIVE）、SUPPLIER_LINE_CREDENTIAL（CURRENT；REVOKED 不擋）。成功時同交易清除外部支付商密鑰並撤銷 retained Supplier account sessions。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplierController.java\n\nPolicy：SUPPLIER_SETTING:DELETE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "SupplierExternalProvider",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/suppliers/{supplierId}/externalProvider — 取得 Supplier 外部支付商設定",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/suppliers/{{supplierId}}/externalProvider",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "suppliers",
                    "{{supplierId}}",
                    "externalProvider"
                  ],
                  "query": []
                },
                "description": "Superadmin 或 own Supplier（Supplier Admin／User，ADR-0482）；其他 Supplier 與不存在同為 404；Supplier 不存在／DELETED 404。回 apiUrl 與 keyConfigured／ivConfigured，永不回 key／iv 明文或 ciphertext；no-store。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplierExternalProviderController.java\n\nPolicy：SUPPLIER_SETTING:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "PUT /bo/v2/suppliers/{supplierId}/externalProvider — 儲存 Supplier 外部支付商設定",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/suppliers/{{supplierId}}/externalProvider",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "suppliers",
                    "{{supplierId}}",
                    "externalProvider"
                  ],
                  "query": []
                },
                "description": "Superadmin 或 own Supplier Admin（ADR-0482）；Supplier User 403，其他 Supplier 與不存在同為 404；apiUrl／expectedVersion／reason 必傳，key／iv 同時提供才以 AES-GCM 加密替換，皆省略則保留。同交易推進 Supplier version 並寫一筆 owner scope null、setting=externalProvider 的 UPDATE_SUPPLIER audit（不含 key／iv）；current no-op 不寫入、stale 409。不呼叫外部 API。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplierExternalProviderController.java\n\nPolicy：SUPPLIER_SETTING:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"apiUrl\": \"{{apiUrl}}\",\n  \"key\": \"{{key}}\",\n  \"iv\": \"{{iv}}\",\n  \"expectedVersion\": {{expectedVersion}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "SupplierLineCredential",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/suppliers/{supplierId}/lineCredentials — 列出 Supplier LINE credential",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/suppliers/{{supplierId}}/lineCredentials",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "suppliers",
                    "{{supplierId}}",
                    "lineCredentials"
                  ],
                  "query": []
                },
                "description": "Superadmin 或 own Supplier（Supplier Admin／User，ADR-0482）；其他 Supplier 與不存在同為 404；Supplier 不存在／DELETED 為 404。id ASC，含 REVOKED；只回遮罩 key、fingerprint、version 與 rotation metadata。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplierLineCredentialController.java\n\nPolicy：SUPPLIER_SETTING:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/suppliers/{supplierId}/lineCredentials — 發行 Supplier LINE credential",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/suppliers/{{supplierId}}/lineCredentials",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "suppliers",
                    "{{supplierId}}",
                    "lineCredentials"
                  ],
                  "query": []
                },
                "description": "Superadmin 或 own Supplier Admin（ADR-0482）；Supplier User 403，其他 Supplier 與不存在同為 404；Currency 須 ACTIVE、provider source 須為 ACTIVE LINE_WEBHOOK。同 (Supplier, Currency, provider source) 已有 CURRENT 回 409，已撤銷者重新發行同一 reference。完整 apiKey／apiSecret 僅本次回傳。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplierLineCredentialController.java\n\nPolicy：SUPPLIER_SETTING:INSERT\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"currencyId\": {{currencyId}},\n  \"notificationProviderSourceId\": {{notificationProviderSourceId}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/suppliers/{supplierId}/lineCredentials/{credentialId} — 輪替 Supplier LINE credential",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/suppliers/{{supplierId}}/lineCredentials/{{credentialId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "suppliers",
                    "{{supplierId}}",
                    "lineCredentials",
                    "{{credentialId}}"
                  ],
                  "query": []
                },
                "description": "Superadmin 或 own Supplier Admin（ADR-0482）；Supplier User 403，其他 Supplier 與不存在同為 404；舊 key／secret 立即失效，完整新值僅本次回傳。過期 version 或已撤銷 409。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplierLineCredentialController.java\n\nPolicy：SUPPLIER_SETTING:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "DELETE /bo/v2/suppliers/{supplierId}/lineCredentials/{credentialId} — 撤銷 Supplier LINE credential",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/suppliers/{{supplierId}}/lineCredentials/{{credentialId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "suppliers",
                    "{{supplierId}}",
                    "lineCredentials",
                    "{{credentialId}}"
                  ],
                  "query": []
                },
                "description": "Superadmin 或 own Supplier Admin（ADR-0482）；Supplier User 403，其他 Supplier 與不存在同為 404；轉為 REVOKED 並移除 secret，舊 key 不再可用；之後可重新發行。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplierLineCredentialController.java\n\nPolicy：SUPPLIER_SETTING:DELETE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "SupplyCardholder",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/supplyCardholders — 分頁查詢 Cardholder",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplyCardholders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplyCardholders"
                  ],
                  "query": [
                    {
                      "key": "gatewayId",
                      "value": "{{gatewayId}}",
                      "disabled": true
                    },
                    {
                      "key": "supplierId",
                      "value": "{{supplierId}}",
                      "disabled": true
                    },
                    {
                      "key": "cardholderId",
                      "value": "{{cardholderId}}",
                      "disabled": true
                    },
                    {
                      "key": "cardholderStatus",
                      "value": "{{cardholderStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "username",
                      "value": "{{username}}",
                      "disabled": true
                    },
                    {
                      "key": "displayName",
                      "value": "{{displayName}}",
                      "disabled": true
                    },
                    {
                      "key": "createdFrom",
                      "value": "{{createdFrom}}",
                      "disabled": true
                    },
                    {
                      "key": "createdUntil",
                      "value": "{{createdUntil}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "scope 由 actor owner chain 導出，所有 filter 與 server scope AND；固定 gatewayId ASC、id ASC；不含 credential、Payment Account 或 PT detail。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyCardholderController.java\n\nPolicy：SUPPLY_CARDHOLDER_MANAGEMENT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。\n\n#549 metadata：creator／modifier：建立者與最近管理異動者（BO 操作者 account；App 本人改密碼為 cardholder:<username>），登入簿記不改寫，歷史資料為 null。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/supplyCardholders/{cardholderId} — 取得 Cardholder 主檔",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplyCardholders/{{cardholderId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplyCardholders",
                    "{{cardholderId}}"
                  ],
                  "query": []
                },
                "description": "跨 scope、不存在與失效 owner chain 都回 not-found。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyCardholderController.java\n\nPolicy：SUPPLY_CARDHOLDER_MANAGEMENT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。\n\n#549 metadata：creator／modifier：建立者與最近管理異動者（BO 操作者 account；App 本人改密碼為 cardholder:<username>），登入簿記不改寫，歷史資料為 null。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/supplyCardholders — 建立 Cardholder",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplyCardholders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplyCardholders"
                  ],
                  "query": []
                },
                "description": "同一 transaction 建立 owner-derived Cardholder、兩方向 zero-value PT rule 與 audit；temporary password 只成功回傳一次。Gateway 自動綁定 own Gateway，帶 gatewayId 回 400。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyCardholderController.java\n\nPolicy：SUPPLY_CARDHOLDER_MANAGEMENT:INSERT\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"gatewayId\": {{gatewayId}},\n  \"username\": \"{{username}}\",\n  \"displayName\": \"{{displayName}}\",\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/supplyCardholders/{cardholderId} — 更新 Cardholder Profile",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplyCardholders/{{cardholderId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplyCardholders",
                    "{{cardholderId}}"
                  ],
                  "query": []
                },
                "description": "只允許 display name；先驗證 expectedVersion，同值為 no-op。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyCardholderController.java\n\nPolicy：SUPPLY_CARDHOLDER_MANAGEMENT:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"displayName\": \"{{displayName}}\",\n  \"expectedVersion\": {{expectedVersion}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/supplyCardholders/{cardholderId}/status — 執行 Cardholder status command",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplyCardholders/{{cardholderId}}/status",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplyCardholders",
                    "{{cardholderId}}",
                    "status"
                  ],
                  "query": []
                },
                "description": "LOCK、UNLOCK、ACTIVATE、DEACTIVATE 依 action 驗證來源狀態與欄位；進入 LOCKED/INACTIVE 原子撤銷全部 active session。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyCardholderController.java\n\nPolicy：SUPPLY_CARDHOLDER_MANAGEMENT:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"action\": \"LOCK\",\n  \"lockReason\": \"RISK_REVIEW\",\n  \"expectedVersion\": {{expectedVersion}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "POST /bo/v2/supplyCardholders/{cardholderId}/forceLogout — 強制登出 Cardholder",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplyCardholders/{{cardholderId}}/forceLogout",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplyCardholders",
                    "{{cardholderId}}",
                    "forceLogout"
                  ],
                  "query": []
                },
                "description": "同一 transaction 結束該 Cardholder 全部 active session（end reason 固定 ADMIN_FORCE_LOGOUT），refresh token 與該 session 註冊的推播裝置同時失效並寫一筆 audit；Cardholder 帳號狀態不變，進行中訂單不取消、不改派。沒有 active session 時回成功（invalidatedSessionCount=0）且不寫 audit。stale expectedVersion 回 409；scope 外或不存在回 404。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyCardholderController.java\n\nPolicy：SUPPLY_CARDHOLDER_MANAGEMENT:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "POST /bo/v2/supplyCardholders/{cardholderId}/password/reset — 重設 Cardholder 密碼",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplyCardholders/{{cardholderId}}/password/reset",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplyCardholders",
                    "{{cardholderId}}",
                    "password",
                    "reset"
                  ],
                  "query": []
                },
                "description": "限 Superadmin、own Supplier 的 Supplier 帳號與 own Gateway 的 Gateway 帳號（皆不分角色）；scope 外或不存在回 404，stale expectedVersion 回 409。帶 newPassword 時依密碼政策驗證後使用且 response 不回傳 credential；未帶時 Backend 產生 temporary password，只在本次成功 response 交付。同一 transaction 設 mustChangePassword、清 failedLoginCount、只解除 FAILED_LOGIN_LIMIT lock、以 PASSWORD_RESET 撤銷全部 active session 與推播裝置，並寫一筆 HIGH audit。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyCardholderController.java\n\nPolicy：SUPPLY_CARDHOLDER_MANAGEMENT:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"newPassword\": \"{{newPassword}}\",\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "SupplyChannelAllocation",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/agents/{agentId}/supplyChannelAllocations — 分頁查詢 Agent 的 Supply Channel 分配",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/agents/{{agentId}}/supplyChannelAllocations",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "agents",
                    "{{agentId}}",
                    "supplyChannelAllocations"
                  ],
                  "query": [
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "僅 fresh Superadmin；Agent 不存在 404。固定 id ASC，含 Channel 已停用或已刪除（channelDeleted）的分配，不含帳號。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyChannelAllocationController.java\n\nPolicy：AGENT_MANAGEMENT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/agents/{agentId}/supplyChannelAllocations/candidates — 分頁查詢可分配的 Supply Channel",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/agents/{{agentId}}/supplyChannelAllocations/candidates",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "agents",
                    "{{agentId}}",
                    "supplyChannelAllocations",
                    "candidates"
                  ],
                  "query": [
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "僅 fresh Superadmin；Currency 與 Agent 相同且未刪除的 Channel（含 INACTIVE），固定 id ASC，allocated 標示已分配。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyChannelAllocationController.java\n\nPolicy：AGENT_MANAGEMENT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/agents/{agentId}/supplyChannelAllocations — 建立 Agent 的 Supply Channel 分配",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/agents/{{agentId}}/supplyChannelAllocations",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "agents",
                    "{{agentId}}",
                    "supplyChannelAllocations"
                  ],
                  "query": []
                },
                "description": "僅 fresh Superadmin；Channel 不存在或已刪除 400、Currency 與 Agent 不一致 400、(Agent, Channel) 重複 409。同交易寫入一筆 owner scope 為 null 的 HIGH audit（含 reason）。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyChannelAllocationController.java\n\nPolicy：AGENT_MANAGEMENT:INSERT\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplyChannelId\": {{supplyChannelId}},\n  \"enabled\": {{enabled}},\n  \"customPriority\": {{customPriority}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/agents/{agentId}/supplyChannelAllocations/{supplyChannelId} — 完整更新 Agent 的 Supply Channel 分配",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/agents/{{agentId}}/supplyChannelAllocations/{{supplyChannelId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "agents",
                    "{{agentId}}",
                    "supplyChannelAllocations",
                    "{{supplyChannelId}}"
                  ],
                  "query": []
                },
                "description": "僅 fresh Superadmin；無此分配 404。先比 expectedVersion，current-version 同值為 no-op（不升 version、不 audit）；已刪除 Channel 的分配可停用或改 customPriority，但不可啟用。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyChannelAllocationController.java\n\nPolicy：AGENT_MANAGEMENT:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"enabled\": {{enabled}},\n  \"customPriority\": {{customPriority}},\n  \"expectedVersion\": {{expectedVersion}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "SupplyChannel",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/suppliers/{supplierId}/supplyChannels — 分頁查詢 Supply Channel",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/suppliers/{{supplierId}}/supplyChannels",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "suppliers",
                    "{{supplierId}}",
                    "supplyChannels"
                  ],
                  "query": [
                    {
                      "key": "channelStatus",
                      "value": "{{channelStatus}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "Superadmin 或 own Supplier（Supplier Admin／User，ADR-0482）；其他 Supplier 與不存在同為 404；Supplier 不存在／DELETED 為 404。排除 DELETED，固定 id ASC，raw PageVo，含完整帳號。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyChannelController.java\n\nPolicy：SUPPLIER_SETTING:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/suppliers/{supplierId}/supplyChannels/{supplyChannelId} — 取得 Supply Channel",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/suppliers/{{supplierId}}/supplyChannels/{{supplyChannelId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "suppliers",
                    "{{supplierId}}",
                    "supplyChannels",
                    "{{supplyChannelId}}"
                  ],
                  "query": []
                },
                "description": "Superadmin 或 own Supplier（Supplier Admin／User，ADR-0482）；其他 Supplier 與不存在同為 404；Channel 不存在、已刪除或不屬於 path Supplier 皆為 404。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyChannelController.java\n\nPolicy：SUPPLIER_SETTING:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/suppliers/{supplierId}/supplyChannels — 建立 Supply Channel",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/suppliers/{{supplierId}}/supplyChannels",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "suppliers",
                    "{{supplierId}}",
                    "supplyChannels"
                  ],
                  "query": []
                },
                "description": "Superadmin 或 own Supplier（Supplier Admin／User，ADR-0482）；其他 Supplier 與不存在同為 404；code 同 Supplier 唯一且永不重用，ACTIVE 時 (currency, bank, accountNo) 全域唯一，衝突 409。同交易寫入一筆 owner scope 為 null 的 HIGH audit（含 reason、不含帳號）。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyChannelController.java\n\nPolicy：SUPPLIER_SETTING:INSERT\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code\": \"{{code}}\",\n  \"channelType\": \"{{channelType}}\",\n  \"currencyId\": {{currencyId}},\n  \"channelStatus\": \"{{channelStatus}}\",\n  \"name\": \"{{name}}\",\n  \"description\": \"{{description}}\",\n  \"bankId\": {{bankId}},\n  \"accountNo\": \"{{accountNo}}\",\n  \"accountName\": \"{{accountName}}\",\n  \"depositEnabled\": {{depositEnabled}},\n  \"dailyAmountLimit\": {{dailyAmountLimit}},\n  \"dailyTxLimit\": {{dailyTxLimit}},\n  \"depositMin\": {{depositMin}},\n  \"depositMax\": {{depositMax}},\n  \"priorityScore\": {{priorityScore}},\n  \"maxConsecutiveFailures\": {{maxConsecutiveFailures}},\n  \"lockDuration\": {{lockDuration}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/suppliers/{supplierId}/supplyChannels/{supplyChannelId} — 完整更新 Supply Channel",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/suppliers/{{supplierId}}/supplyChannels/{{supplyChannelId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "suppliers",
                    "{{supplierId}}",
                    "supplyChannels",
                    "{{supplyChannelId}}"
                  ],
                  "query": []
                },
                "description": "Superadmin 或 own Supplier（Supplier Admin／User，ADR-0482）；其他 Supplier 與不存在同為 404；不可改 code、channelType、currencyId 或營運狀態。先比 expectedVersion，current-version 同值為 no-op（不升 version、不 audit）。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyChannelController.java\n\nPolicy：SUPPLIER_SETTING:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"{{name}}\",\n  \"description\": \"{{description}}\",\n  \"bankId\": {{bankId}},\n  \"accountNo\": \"{{accountNo}}\",\n  \"accountName\": \"{{accountName}}\",\n  \"depositEnabled\": {{depositEnabled}},\n  \"dailyAmountLimit\": {{dailyAmountLimit}},\n  \"dailyTxLimit\": {{dailyTxLimit}},\n  \"depositMin\": {{depositMin}},\n  \"depositMax\": {{depositMax}},\n  \"priorityScore\": {{priorityScore}},\n  \"maxConsecutiveFailures\": {{maxConsecutiveFailures}},\n  \"lockDuration\": {{lockDuration}},\n  \"expectedVersion\": {{expectedVersion}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/suppliers/{supplierId}/supplyChannels/{supplyChannelId}/status — 切換 Supply Channel 營運狀態",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/suppliers/{{supplierId}}/supplyChannels/{{supplyChannelId}}/status",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "suppliers",
                    "{{supplierId}}",
                    "supplyChannels",
                    "{{supplyChannelId}}",
                    "status"
                  ],
                  "query": []
                },
                "description": "Superadmin 或 own Supplier（Supplier Admin／User，ADR-0482）；其他 Supplier 與不存在同為 404；啟用時重新套用 ACTIVE 唯一性（衝突 409），same-state 不寫入、不 audit。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyChannelController.java\n\nPolicy：SUPPLIER_SETTING:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"channelStatus\": \"{{channelStatus}}\",\n  \"expectedVersion\": {{expectedVersion}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "DELETE /bo/v2/suppliers/{supplierId}/supplyChannels/{supplyChannelId} — Soft delete Supply Channel",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/suppliers/{{supplierId}}/supplyChannels/{{supplyChannelId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "suppliers",
                    "{{supplierId}}",
                    "supplyChannels",
                    "{{supplyChannelId}}"
                  ],
                  "query": []
                },
                "description": "Superadmin 或 own Supplier（Supplier Admin／User，ADR-0482）；其他 Supplier 與不存在同為 404；任何營運狀態皆可刪除，不可恢復、code 永久保留、不 cascade Prefix 分配。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyChannelController.java\n\nPolicy：SUPPLIER_SETTING:DELETE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "SupplyChannelOption",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/supplyChannels/options — 取得 Supply Channel 選項",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplyChannels/options",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplyChannels",
                    "options"
                  ],
                  "query": []
                },
                "description": "登入即可（AUTH_MENU_BOOTSTRAP:VIEW）；Superadmin 與 Supplier 另以 fresh guard 重驗 SUPPLY_TRANSACTION_WORKSPACE:VIEW，不通過 403。Superadmin 全部、Supplier 只看自己底下的、Prefix 與 Gateway 一律空陣列。排除已刪除的 Channel，status 為營運狀態（ACTIVE／INACTIVE）；帳號只回 accountNoMasked（規則同 payerAccountMasked），不回完整帳號。固定 code ASC、id ASC；raw root 完整陣列，不分頁、無業務參數。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyChannelOptionController.java\n\nPolicy：AUTH_MENU_BOOTSTRAP:VIEW（登入後免 resource-action grant）\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "SupplyCommissionReport",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/supplyCommissionReports/page — 分頁查詢 Pt Snapshot",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplyCommissionReports/page",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplyCommissionReports",
                    "page"
                  ],
                  "query": [
                    {
                      "key": "fromMonth",
                      "value": "{{fromMonth}}",
                      "disabled": true
                    },
                    {
                      "key": "toMonth",
                      "value": "{{toMonth}}",
                      "disabled": true
                    },
                    {
                      "key": "level",
                      "value": "{{level}}",
                      "disabled": true
                    },
                    {
                      "key": "direction",
                      "value": "{{direction}}",
                      "disabled": true
                    },
                    {
                      "key": "currencyId",
                      "value": "{{currencyId}}",
                      "disabled": true
                    },
                    {
                      "key": "target",
                      "value": "{{target}}",
                      "disabled": true
                    },
                    {
                      "key": "supplierId",
                      "value": "{{supplierId}}",
                      "disabled": true
                    },
                    {
                      "key": "gatewayId",
                      "value": "{{gatewayId}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "未帶 level 時回查看者頂層（Superadmin、Supplier 為 SUPPLIER，Supply Gateway 為 GATEWAY），往下看以 level 加上層列 ownerId 作 supplierId／gatewayId。Superadmin 全部（+08:00 分月，可用 supplierId／gatewayId 縮小，不存在回 not-found）；Supplier 自己、旗下 Gateway 與其 Cardholder（可帶自己鏈內 gatewayId）；Gateway 自己與旗下 Cardholder（皆以 Supplier offset 分月，Supplier 帶 supplierId、Gateway 帶任何 selector 回 400）。volume／count 依查看者月份，PT 依同名 commission_month 計算；任一列缺規則、Currency metadata 無效或 overflow 時整份 409。期間最多 6 個月。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyCommissionReportController.java\n\nPolicy：SUPPLY_COMMISSION_REPORT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/supplyCommissionReports/detail — 查詢 Pt Snapshot 每日明細",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplyCommissionReports/detail",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplyCommissionReports",
                    "detail"
                  ],
                  "query": [
                    {
                      "key": "month",
                      "value": "{{month}}",
                      "disabled": true
                    },
                    {
                      "key": "level",
                      "value": "{{level}}",
                      "disabled": true
                    },
                    {
                      "key": "ownerId",
                      "value": "{{ownerId}}",
                      "disabled": true
                    },
                    {
                      "key": "currencyId",
                      "value": "{{currencyId}}",
                      "disabled": true
                    },
                    {
                      "key": "direction",
                      "value": "{{direction}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "以 page 列的 month、level、ownerId、currencyId、direction 取查看者時區每日 count、volume 與累計 volume；不算每日 PT；逐筆訂單與每筆 PT 改用 GET /bo/v2/supplyCommissionReports/orders。owner 不存在或不在 scope 內回 not-found。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyCommissionReportController.java\n\nPolicy：SUPPLY_COMMISSION_REPORT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/supplyCommissionReports/orders — 查詢 Pt Snapshot 逐筆訂單明細",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplyCommissionReports/orders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplyCommissionReports",
                    "orders"
                  ],
                  "query": [
                    {
                      "key": "level",
                      "value": "{{level}}",
                      "disabled": true
                    },
                    {
                      "key": "ownerId",
                      "value": "{{ownerId}}",
                      "disabled": true
                    },
                    {
                      "key": "currencyId",
                      "value": "{{currencyId}}",
                      "disabled": true
                    },
                    {
                      "key": "direction",
                      "value": "{{direction}}",
                      "disabled": true
                    },
                    {
                      "key": "fromDate",
                      "value": "{{fromDate}}",
                      "disabled": true
                    },
                    {
                      "key": "toDate",
                      "value": "{{toDate}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "以 page 列的 level、ownerId、currencyId、direction 加查看者時區 fromDate..toDate（含頭尾最多 31 天）分頁列出已接受的訂單：orderNo、成功時間（UTC 與查看者時間）、commissionMonth、所屬 Gateway／Cardholder（Supply Channel 為 null）、計入金額（含 correction）與該筆 PT。每筆 PT 為參考值：同 owner、currency、direction、commissionMonth 內依 (成功時間, fact id) 從該月第一筆累計，round(F(累計到本筆)) − round(F(累計到前一筆))；月 PT 以 page 為準。純讀取、不寫 audit。參數或範圍錯誤 400，owner 不存在或不在 scope 內 not-found，有訂單的月份缺規則或 Currency metadata 無效 409。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyCommissionReportController.java\n\nPolicy：SUPPLY_COMMISSION_REPORT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/supplyCommissionReports/export — 匯出 Pt Snapshot CSV",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplyCommissionReports/export",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplyCommissionReports",
                    "export"
                  ],
                  "query": [
                    {
                      "key": "fromMonth",
                      "value": "{{fromMonth}}",
                      "disabled": true
                    },
                    {
                      "key": "toMonth",
                      "value": "{{toMonth}}",
                      "disabled": true
                    },
                    {
                      "key": "level",
                      "value": "{{level}}",
                      "disabled": true
                    },
                    {
                      "key": "direction",
                      "value": "{{direction}}",
                      "disabled": true
                    },
                    {
                      "key": "currencyId",
                      "value": "{{currencyId}}",
                      "disabled": true
                    },
                    {
                      "key": "target",
                      "value": "{{target}}",
                      "disabled": true
                    },
                    {
                      "key": "supplierId",
                      "value": "{{supplierId}}",
                      "disabled": true
                    },
                    {
                      "key": "gatewayId",
                      "value": "{{gatewayId}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "與 page 同篩選（含預設層級）的全部列；UTF-8 without BOM、formula escape。交付前同一 transaction 寫 HIGH export audit。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyCommissionReportController.java\n\nPolicy：SUPPLY_COMMISSION_REPORT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "SupplyGatewayAllocation",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/agents/{agentId}/supplyGatewayAllocations — 分頁查詢 eligible Gateways 與 Agent binding",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/agents/{{agentId}}/supplyGatewayAllocations",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "agents",
                    "{{agentId}}",
                    "supplyGatewayAllocations"
                  ],
                  "query": [
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "僅回 current Supplier／Gateway active 且 Currency 相符的 Gateways（offset 可不同，ADR-0449）。gatewayName、gatewayId ASC；顯示順序不代表 routing 順序；summary 計完整 scope；inactive Agent 仍可查詢。只接受 pageNumber、pageSize。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyGatewayAllocationController.java\n\nPolicy：AGENT_MANAGEMENT:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "PUT /bo/v2/agents/{agentId}/supplyGatewayAllocations/{gatewayId} — 完整設定單筆 Agent Gateway binding",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/agents/{{agentId}}/supplyGatewayAllocations/{{gatewayId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "agents",
                    "{{agentId}}",
                    "supplyGatewayAllocations",
                    "{{gatewayId}}"
                  ],
                  "query": []
                },
                "description": "首次 enable 建立 mapping；disabled missing mapping 為 no-op。inactive Agent 或失配／缺失 master 只允許安全停用。reason 必填，每筆實際異動寫入 audit；no-op 仍驗證 reason 但不寫 audit。不接受 priority（ADR-0466）。不更動 lifecycle、owner、訂單或 reservation。stale expectedVersion 回 409，即使 no-op。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyGatewayAllocationController.java\n\nPolicy：AGENT_MANAGEMENT:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"enabled\": {{enabled}},\n  \"reason\": \"{{reason}}\",\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "POST /bo/v2/agents/{agentId}/supplyGatewayAllocations/enableAll — 啟用 Agent 完整 eligible scope",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/agents/{{agentId}}/supplyGatewayAllocations/enableAll",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "agents",
                    "{{agentId}}",
                    "supplyGatewayAllocations",
                    "enableAll"
                  ],
                  "query": []
                },
                "description": "active Agent 限定；同交易凍結 candidates、鎖定並重新驗證，失配回 409 並整批 rollback。不納入並行新建 Gateway。reason 必填；實際變更各一筆 audit，共用 operationId 與 reason；root version 最多增加一次。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyGatewayAllocationController.java\n\nPolicy：AGENT_MANAGEMENT:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "POST /bo/v2/agents/{agentId}/supplyGatewayAllocations/disableAll — 停用 Agent 全部既有 bindings",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/agents/{{agentId}}/supplyGatewayAllocations/disableAll",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "agents",
                    "{{agentId}}",
                    "supplyGatewayAllocations",
                    "disableAll"
                  ],
                  "query": []
                },
                "description": "不受 eligible scope、master 或 Agent lifecycle 限制。reason 必填；實際變更各一筆 audit，共用 operationId 與 reason。不刪除 mapping 或改歷史 facts；affectedCount 可大於 eligible total。no-op 不修改 metadata、version 或 audit。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyGatewayAllocationController.java\n\nPolicy：AGENT_MANAGEMENT:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "Supply Gateway",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/supplyGateways/options — 取得啟用 Gateway 選項",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplyGateways/options",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplyGateways",
                    "options"
                  ],
                  "query": []
                },
                "description": "登入即可（AUTH_MENU_BOOTSTRAP:VIEW，不需 SUPPLY_GATEWAY grant）；Superadmin 全域、Supplier 自己底下、Gateway 自己、Prefix 空清單。僅 Supplier/Gateway row 與營運狀態皆 ACTIVE，排除缺失 Supplier；無業務參數、無分頁、無筆數上限。固定 supplierLoginId ASC、gatewayName ASC、gatewayId ASC，同名保留獨立 ID；ResponseVo data 為完整清單。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyGatewayController.java\n\nPolicy：AUTH_MENU_BOOTSTRAP:VIEW（登入後免 resource-action grant）\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": [],
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "const contentType = String(pm.response.headers.get(\"Content-Type\") || \"\").toLowerCase();",
                      "if (pm.response.code >= 200 && pm.response.code < 300 && pm.response.code !== 204 && pm.response.text().length > 0 && /^[^;]*[/+]json\\s*(;|$)/.test(contentType)) {",
                      "  pm.test(\"ResponseVo 形狀：integer code、string message、data 欄位\", function () {",
                      "    const body = pm.response.json();",
                      "    pm.expect(Number.isInteger(body.code), \"code 須為 integer\").to.be.true;",
                      "    pm.expect(typeof body.message === \"string\", \"message 須為 string\").to.be.true;",
                      "    pm.expect(body !== null && Object.prototype.hasOwnProperty.call(body, \"data\"), \"須有 data 欄位（可為 null）\").to.be.true;",
                      "  });",
                      "}"
                    ]
                  }
                }
              ]
            },
            {
              "name": "GET /bo/v2/supplyGateways — 分頁查詢 Gateway",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplyGateways",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplyGateways"
                  ],
                  "query": [
                    {
                      "key": "status",
                      "value": "{{status}}",
                      "disabled": true
                    },
                    {
                      "key": "gatewayName",
                      "value": "{{gatewayName}}",
                      "disabled": true
                    },
                    {
                      "key": "supplierId",
                      "value": "{{supplierId}}",
                      "disabled": true
                    },
                    {
                      "key": "currencyId",
                      "value": "{{currencyId}}",
                      "disabled": true
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "scope 由 actor 固定導出，固定 gatewayName ASC、gatewayId ASC；不回傳 secret、daily limits 或 action hint。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyGatewayController.java\n\nPolicy：SUPPLY_GATEWAY:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。\n\nA1/A2 contract：creator、createTime、modifier、modifyTime：verified actor account snapshot 與 UTC LocalDateTime；未知歷史為 null，不回補。管理 API 保留既有 raw VO/PageVo，沒有新增 ResponseVo 包裝。 positive supplierId/currencyId filters 與 server scope AND，跨 scope 回空頁。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/supplyGateways/{gatewayId} — 取得 Gateway detail",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplyGateways/{{gatewayId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplyGateways",
                    "{{gatewayId}}"
                  ],
                  "query": []
                },
                "description": "跨 scope、已刪除與不存在 target 一律 not-found。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyGatewayController.java\n\nPolicy：SUPPLY_GATEWAY:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。\n\nA1/A2 contract：creator、createTime、modifier、modifyTime：verified actor account snapshot 與 UTC LocalDateTime；未知歷史為 null，不回補。管理 API 保留既有 raw VO/PageVo，沒有新增 ResponseVo 包裝。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/supplyGateways — 建立 Gateway",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplyGateways",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplyGateways"
                  ],
                  "query": []
                },
                "description": "Superadmin 或 Supplier（Admin 與 User）；Supplier 的 supplierId 必須是自己的 Supplier，否則 404 且不建立。Gateway 403。四個金額必填且可無損保存至 DECIMAL(30,10)，0 表示該側無限制，兩側皆正時 min ≤ max；倒置回 400 40005，data 為 [depositMinAmount|withdrawalMinAmount, must not exceed …MaxAmount]（兩方向皆倒置回 Deposit），null／負值回 [invalid limits]。可選填初始 supplyGatewayStatus（ACTIVE／INACTIVE，預設 ACTIVE）與 changeReason（寫入 audit）。原子建立 Gateway、依 request 保存 Deposit/Withdrawal direction configs、初始 PT 與 audit；失敗全部 rollback。\n\ngatewayCode 全系統唯一（ADR-0463）：不分大小寫，已刪除 Gateway 的 code 仍占用；重複回 409。\n\n金額格式（ADR-0489）：四個金額接受 JSON number 或 plain decimal string。字串不可有正負號、指數、逗號、空白、多餘 leading zero、.5 或尾端小數點；JSON number 不可用指數；不符回 400／40005（data 為 [欄位名, \"invalid format\"]）。值須 >= 0 且可無損保存至 DECIMAL（30,10），0 表示該側不限制；Operational Config 超出精度回 400／40005 且不寫入。Response 為 canonical plain decimal string（#876、ADR-0477：無多餘尾零、零為 \"0\"，不使用科學記號）。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyGatewayController.java\n\nPolicy：SUPPLY_GATEWAY:INSERT\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplierId\": {{supplierId}},\n  \"gatewayCode\": \"{{gatewayCode}}\",\n  \"gatewayName\": \"{{gatewayName}}\",\n  \"currencyId\": {{currencyId}},\n  \"depositMinAmount\": {{depositMinAmount}},\n  \"depositMaxAmount\": {{depositMaxAmount}},\n  \"withdrawalMinAmount\": {{withdrawalMinAmount}},\n  \"withdrawalMaxAmount\": {{withdrawalMaxAmount}},\n  \"supplyGatewayStatus\": \"{{supplyGatewayStatus}}\",\n  \"changeReason\": \"{{changeReason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "PUT /bo/v2/supplyGateways/{gatewayId} — 更新 Gateway 名稱與營運設定",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplyGateways/{{gatewayId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplyGateways",
                    "{{gatewayId}}"
                  ],
                  "query": []
                },
                "description": "Superadmin、owning Supplier 或 Gateway 本人；完整取代，八個欄位皆必填（缺少或 null 回 400 40005，未宣告欄位、重複欄位與 trailing token 回 400）。Gateway 本人可改名稱與四個 limits，supplyGatewayStatus 須等於現值，否則 403；其他 Gateway 404。gatewayName 移除前後空白後 1～100 字元、不檢查唯一性；四個 limits 規則與 400 data 同 Create；changeReason 必填，只改名稱與同值 no-op 亦同。欄位檢查在鎖定前；鎖定後依序驗權、驗 version（缺 expectedVersion 回 400 40005，不符回 409 40051）。名稱、狀態與四個 limits 全部相同時為成功 no-op，不升 version、不寫 audit。名稱有變記 UPDATE_SUPPLY_GATEWAY_NAME、狀態或 limits 有變記 UPDATE_SUPPLY_GATEWAY_OPERATIONAL_CONFIG，兩者都變同交易兩列。status 實際由 ACTIVE 轉 INACTIVE 時，同交易撤銷該 Gateway 帳號與旗下 Cardholder 的 session 及推播註冊（GATEWAY_DEACTIVATED），重新 ACTIVE 不恢復舊 session；INACTIVE 不會刪除歷史資料。\n\n金額格式（ADR-0489）：四個金額接受 JSON number 或 plain decimal string。字串不可有正負號、指數、逗號、空白、多餘 leading zero、.5 或尾端小數點；JSON number 不可用指數；不符回 400／40005（data 為 [欄位名, \"invalid format\"]）。值須 >= 0 且可無損保存至 DECIMAL（30,10），0 表示該側不限制；Operational Config 超出精度回 400／40005 且不寫入。Response 為 canonical plain decimal string（#876、ADR-0477：無多餘尾零、零為 \"0\"，不使用科學記號）。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyGatewayController.java\n\nPolicy：SUPPLY_GATEWAY:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"gatewayName\": \"{{gatewayName}}\",\n  \"supplyGatewayStatus\": \"{{supplyGatewayStatus}}\",\n  \"depositMinAmount\": {{depositMinAmount}},\n  \"depositMaxAmount\": {{depositMaxAmount}},\n  \"withdrawalMinAmount\": {{withdrawalMinAmount}},\n  \"withdrawalMaxAmount\": {{withdrawalMaxAmount}},\n  \"changeReason\": \"{{changeReason}}\",\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "DELETE /bo/v2/supplyGateways/{gatewayId} — 軟刪除 Gateway",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplyGateways/{{gatewayId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplyGateways",
                    "{{gatewayId}}"
                  ],
                  "query": []
                },
                "description": "Superadmin 或 owning Supplier（Admin 與 User）；Gateway 403，其他 Supplier 的 Gateway 404。Gateway 須先 INACTIVE。任一 blocker 存在時回 409／40050，data.blockers 依固定順序一次列出所有 count>0 的 {blockerType,count}；終局訂單、已釋放 reservation 等純歷史資料不阻擋。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyGatewayController.java\n\nPolicy：SUPPLY_GATEWAY:DELETE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "SupplyPtRule",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/supplyPtRules/tree — 取得 PT 授權樹",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplyPtRules/tree",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplyPtRules",
                    "tree"
                  ],
                  "query": []
                },
                "description": "Superadmin 取得全樹；Supplier 取得自身 subtree；Gateway 取得自身與 Cardholder。每個節點只含 current/pending PT 與非敏感 display fields。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyPtRuleController.java\n\nPolicy：SUPPLY_PT_RULE:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/supplyPtRules/revisions — 分頁查詢 PT revisions",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplyPtRules/revisions?statuses={{statuses}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplyPtRules",
                    "revisions"
                  ],
                  "query": [
                    {
                      "key": "statuses",
                      "value": "{{statuses}}",
                      "disabled": false,
                      "description": "可重複加入同名 query parameter。"
                    },
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "statuses 可重複或 comma-separated 指定 CURRENT、PENDING_NEXT_MONTH、HISTORICAL；owner scope 永遠由 server 推導。policyVersion 是 PUT 的 expectedVersion；revisionVersion 只識別 revision row。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyPtRuleController.java\n\nPolicy：SUPPLY_PT_RULE:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。\n\n#549 metadata：SupplyPtRevisionVo 的 creator／modifier：bootstrap 沿用上層 Supplier／Gateway／Cardholder 建立者，BO Save 寫操作者 account，排程升版寫 PT_ROLLOVER；no-op 不改；歷史資料為 null。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "PUT /bo/v2/supplyPtRules/{ownerType}/{ownerId} — 完整更新 PT desired state",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/supplyPtRules/{{ownerType}}/{{ownerId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "supplyPtRules",
                    "{{ownerType}}",
                    "{{ownerId}}"
                  ],
                  "query": []
                },
                "description": "先驗證 server-derived target scope 與 expectedVersion。首次實際異動立即生效，之後 upsert pending；同值 no-op 不寫 audit。回應的 policyVersion 直接作為下一次 PUT 的 expectedVersion。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/SupplyPtRuleController.java\n\nPolicy：SUPPLY_PT_RULE:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。\n\n#549 metadata：SupplyPtRevisionVo 的 creator／modifier：bootstrap 沿用上層 Supplier／Gateway／Cardholder 建立者，BO Save 寫操作者 account，排程升版寫 PT_ROLLOVER；no-op 不改；歷史資料為 null。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"depositRate\": \"{{depositRate}}\",\n  \"withdrawalRate\": \"{{withdrawalRate}}\",\n  \"depositBaseFee\": \"{{depositBaseFee}}\",\n  \"withdrawalBaseFee\": \"{{withdrawalBaseFee}}\",\n  \"depositThreshold\": \"{{depositThreshold}}\",\n  \"withdrawalThreshold\": \"{{withdrawalThreshold}}\",\n  \"expectedVersion\": {{expectedVersion}},\n  \"changeReason\": \"{{changeReason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "WithdrawalOrderAssignment",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/withdrawalOrders/{id}/assignmentCandidates — 取得 Withdrawal 核准前、初派與合法 current／latest-expired 重派候選",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/withdrawalOrders/{{id}}/assignmentCandidates",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "withdrawalOrders",
                    "{{id}}",
                    "assignmentCandidates"
                  ],
                  "query": [
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "Readonly native eligibility／scope／full-keyset／mask；evaluationTime不是admission token，真正指派持鎖重新驗證，readiness不變。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/WithdrawalOrderAssignmentController.java\n\nPolicy：SUPPLY_WITHDRAWAL_WORKSPACE:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/withdrawalOrders/{id}/approve — 核准 Withdrawal 並進行初派",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/withdrawalOrders/{{id}}/approve",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "withdrawalOrders",
                    "{{id}}",
                    "approve"
                  ],
                  "query": []
                },
                "description": "Fresh maker-checker 核准與 requested reserve／初派／review／單一 APPROVE journal／Audit 同交易；不 debit、不正式成功，production readiness 保持關閉。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/WithdrawalOrderAssignmentController.java\n\nPolicy：SUPPLY_WITHDRAWAL_WORKSPACE:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"idempotencyKey\": \"{{idempotencyKey}}\",\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "POST /bo/v2/withdrawalOrders/{id}/assign — 初次指派 Withdrawal Order",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/withdrawalOrders/{{id}}/assign",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "withdrawalOrders",
                    "{{id}}",
                    "assign"
                  ],
                  "query": []
                },
                "description": "Current native pool full keyset；CH shared fairness／Order tie，同CH Account id ASC；指定Account不fallback。Root／requested reservation／original-day counter／fairness／journal／actual-actor Audit原子提交。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/WithdrawalOrderAssignmentController.java\n\nPolicy：SUPPLY_WITHDRAWAL_WORKSPACE:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"idempotencyKey\": \"{{idempotencyKey}}\",\n  \"paymentAccountId\": null,\n  \"houseCardId\": null,\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "WithdrawalOrderAttempt",
      "item": [
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/withdrawalOrders/{id}/accept — 代理接受 Withdrawal assignment",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/withdrawalOrders/{{id}}/accept",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "withdrawalOrders",
                    "{{id}}",
                    "accept"
                  ],
                  "query": []
                },
                "description": "Fresh current owner、CAS、deadline與UNFROZEN guard；Root／command／Audit原子提交，不改reserve。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/WithdrawalOrderAttemptController.java\n\nPolicy：SUPPLY_WITHDRAWAL_WORKSPACE:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"idempotencyKey\": \"{{idempotencyKey}}\",\n  \"targetAttemptId\": {{targetAttemptId}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "POST /bo/v2/withdrawalOrders/{id}/rejectRequest — 請求 Withdrawal review",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/withdrawalOrders/{{id}}/rejectRequest",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "withdrawalOrders",
                    "{{id}}",
                    "rejectRequest"
                  ],
                  "query": []
                },
                "description": "只建立UNREVIEWED blocker；保留current tuple、proof與obligation，無release／debit／callback。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/WithdrawalOrderAttemptController.java\n\nPolicy：SUPPLY_WITHDRAWAL_WORKSPACE:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"idempotencyKey\": \"{{idempotencyKey}}\",\n  \"targetAttemptId\": {{targetAttemptId}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "WithdrawalOrderCreation",
      "item": [
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/withdrawalOrders — 建立待核准 Withdrawal",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/withdrawalOrders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "withdrawalOrders"
                  ],
                  "query": []
                },
                "description": "Native Order、immutable command及Audit同交易；不建立reserve、fairness、付款或callback。Prefix 需 role 授 INSERT，只能替自己的 Agent 建單：agentId 可省略，帶他 Agent 404／40002，帶 supplierId／gatewayId 400／40005；建出的單待核准，Prefix 不能核准（#1019）。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/WithdrawalOrderCreationController.java\n\nPolicy：SUPPLY_WITHDRAWAL_WORKSPACE:INSERT\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"agentId\": {{agentId}},\n  \"amount\": \"{{amount}}\",\n  \"receiverBankCode\": \"{{receiverBankCode}}\",\n  \"receiverAccount\": \"{{receiverAccount}}\",\n  \"receiverName\": \"{{receiverName}}\",\n  \"idempotencyKey\": \"{{idempotencyKey}}\",\n  \"supplierId\": null,\n  \"gatewayId\": null,\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "WithdrawalOrderDisposition",
      "item": [
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/withdrawalOrders/{id}/disposition — BO 確認 Withdrawal 付款裁決",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/withdrawalOrders/{{id}}/disposition",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "withdrawalOrders",
                    "{{id}}",
                    "disposition"
                  ],
                  "query": []
                },
                "description": "該次分派的 Supply Gateway、Supplier 或 Admin（ADR-0453）的獨立CAS／exact-key command與Audit；Gateway 在已有付款申報時不可判 NOT_TRANSFERRED（409）；未付款可無付款evidence，仍須reason；不自動釋放reservation或重新分配。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/WithdrawalOrderDispositionController.java\n\nPolicy：SUPPLY_WITHDRAWAL_WORKSPACE:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"idempotencyKey\": \"{{idempotencyKey}}\",\n  \"targetAttemptId\": {{targetAttemptId}},\n  \"evidenceOperationId\": null,\n  \"settlementDisposition\": \"NOT_TRANSFERRED\",\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "WithdrawalOrderEvidence",
      "item": [
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/withdrawalOrders/{id}/evidence — 登記 Withdrawal 付款聲明",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/withdrawalOrders/{{id}}/evidence",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "withdrawalOrders",
                    "{{id}}",
                    "evidence"
                  ],
                  "query": []
                },
                "description": "正數申報、Root 與 Audit 同交易；無 proof 不建立 storage VERIFIED，不扣帳或結案。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/WithdrawalOrderEvidenceController.java\n\nPolicy：SUPPLY_WITHDRAWAL_WORKSPACE:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"action\": \"REGISTER_TRANSFER\",\n  \"expectedVersion\": {{expectedVersion}},\n  \"idempotencyKey\": \"{{idempotencyKey}}\",\n  \"targetAttemptId\": {{targetAttemptId}},\n  \"actual\": \"{{actual}}\",\n  \"proofId\": null,\n  \"reference\": \"{{reference}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "WithdrawalOrderFinancial",
      "item": [
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/withdrawalOrders/{id}/settle — 確認 Withdrawal 已存證實付",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/withdrawalOrders/{{id}}/settle",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "withdrawalOrders",
                    "{{id}}",
                    "settle"
                  ],
                  "query": []
                },
                "description": "actual缺省沿用選定已存申報、提供時為BO最後金額；與申報或requested任一不同reason必填，一次remark、debit、command、Audit與terminal intent同交易。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/WithdrawalOrderFinancialController.java\n\nPolicy：SUPPLY_WITHDRAWAL_WORKSPACE:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"idempotencyKey\": \"{{idempotencyKey}}\",\n  \"targetAttemptId\": {{targetAttemptId}},\n  \"evidenceOperationId\": {{evidenceOperationId}},\n  \"actual\": \"{{actual}}\",\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "POST /bo/v2/withdrawalOrders/{id}/close — 關閉明確未付款的 Withdrawal",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/withdrawalOrders/{{id}}/close",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "withdrawalOrders",
                    "{{id}}",
                    "close"
                  ],
                  "query": []
                },
                "description": "有obligation須先獨立Admin NOT_TRANSFERRED確認；release與terminal command、Audit、intent同交易，不以timeout推定未付款。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/WithdrawalOrderFinancialController.java\n\nPolicy：SUPPLY_WITHDRAWAL_WORKSPACE:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"idempotencyKey\": \"{{idempotencyKey}}\",\n  \"targetAttemptId\": {{targetAttemptId}},\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "WithdrawalOrderProof",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/withdrawalOrders/{id}/proofs/{proofId}/content — 下載私有 Withdrawal proof",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/withdrawalOrders/{{id}}/proofs/{{proofId}}/content",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "withdrawalOrders",
                    "{{id}}",
                    "proofs",
                    "{{proofId}}",
                    "content"
                  ],
                  "query": []
                },
                "description": "逐次驗 bytes／immutable binding／fresh scope；歷史 read 不恢復付款 authority。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/WithdrawalOrderProofController.java\n\nPolicy：SUPPLY_WITHDRAWAL_WORKSPACE:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "WithdrawalOrderRedispatch",
      "item": [
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/withdrawalOrders/{id}/redispatch — 重新指派 Withdrawal Order",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/withdrawalOrders/{{id}}/redispatch",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "withdrawalOrders",
                    "{{id}}",
                    "redispatch"
                  ],
                  "query": []
                },
                "description": "需獨立 Admin NOT_TRANSFERRED 裁決；同交易先 reserve 新 Account，再 release 原日 obligation。成功後舊 attempt 不再負責，不接受舊付款提交；失敗完整回滾，指定 Account 不 fallback。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/WithdrawalOrderRedispatchController.java\n\nPolicy：SUPPLY_WITHDRAWAL_WORKSPACE:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"idempotencyKey\": \"{{idempotencyKey}}\",\n  \"targetAttemptId\": {{targetAttemptId}},\n  \"paymentAccountId\": null,\n  \"reason\": \"{{reason}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "WithdrawalOrderRemark",
      "item": [
        {
          "name": "Mutations",
          "item": [
            {
              "name": "POST /bo/v2/withdrawalOrders/{id}/remarks — 追加 Withdrawal BO 備註",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/withdrawalOrders/{{id}}/remarks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "withdrawalOrders",
                    "{{id}}",
                    "remarks"
                  ],
                  "query": []
                },
                "description": "Order、actor-scoped exact command 與 Audit 同交易；不截斷、不影響 actual／Ledger／callback。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/WithdrawalOrderRemarkController.java\n\nPolicy：SUPPLY_WITHDRAWAL_WORKSPACE:UPDATE\n\nMutation：僅可手動逐筆執行；不可使用 Collection Runner 自動鏈結。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"expectedVersion\": {{expectedVersion}},\n  \"idempotencyKey\": \"{{idempotencyKey}}\",\n  \"text\": \"{{text}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "WithdrawalOrderWorkspace",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /bo/v2/withdrawalOrders/page — 分頁查詢 Withdrawal",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/withdrawalOrders/page",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "withdrawalOrders",
                    "page"
                  ],
                  "query": [
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    },
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    },
                    {
                      "key": "supplierId",
                      "value": "{{supplierId}}",
                      "disabled": true
                    },
                    {
                      "key": "gatewayId",
                      "value": "{{gatewayId}}",
                      "disabled": true
                    },
                    {
                      "key": "orderNo",
                      "value": "{{orderNo}}",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "{{status}}",
                      "disabled": true
                    },
                    {
                      "key": "hasBoRemark",
                      "value": "{{hasBoRemark}}",
                      "disabled": true
                    },
                    {
                      "key": "from",
                      "value": "{{from}}",
                      "disabled": true
                    },
                    {
                      "key": "until",
                      "value": "{{until}}",
                      "disabled": true
                    },
                    {
                      "key": "currencyId",
                      "value": "{{currencyId}}",
                      "disabled": true
                    },
                    {
                      "key": "bankCode",
                      "value": "{{bankCode}}",
                      "disabled": true
                    },
                    {
                      "key": "account",
                      "value": "{{account}}",
                      "disabled": true
                    },
                    {
                      "key": "name",
                      "value": "{{name}}",
                      "disabled": true
                    },
                    {
                      "key": "originType",
                      "value": "{{originType}}",
                      "disabled": true
                    },
                    {
                      "key": "rejectSource",
                      "value": "{{rejectSource}}",
                      "disabled": true
                    },
                    {
                      "key": "routeCode",
                      "value": "{{routeCode}}",
                      "disabled": true
                    },
                    {
                      "key": "bucket",
                      "value": "{{bucket}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "Current或own historical安全投影；UTC半開filters、pageNumber zero-based、pageSize 1..500。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/WithdrawalOrderWorkspaceController.java\n\nPolicy：SUPPLY_WITHDRAWAL_WORKSPACE:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/withdrawalOrders/stats — Withdrawal 頁籤筆數",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/withdrawalOrders/stats",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "withdrawalOrders",
                    "stats"
                  ],
                  "query": [
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    },
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    },
                    {
                      "key": "supplierId",
                      "value": "{{supplierId}}",
                      "disabled": true
                    },
                    {
                      "key": "gatewayId",
                      "value": "{{gatewayId}}",
                      "disabled": true
                    },
                    {
                      "key": "orderNo",
                      "value": "{{orderNo}}",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "{{status}}",
                      "disabled": true
                    },
                    {
                      "key": "hasBoRemark",
                      "value": "{{hasBoRemark}}",
                      "disabled": true
                    },
                    {
                      "key": "from",
                      "value": "{{from}}",
                      "disabled": true
                    },
                    {
                      "key": "until",
                      "value": "{{until}}",
                      "disabled": true
                    },
                    {
                      "key": "currencyId",
                      "value": "{{currencyId}}",
                      "disabled": true
                    },
                    {
                      "key": "bankCode",
                      "value": "{{bankCode}}",
                      "disabled": true
                    },
                    {
                      "key": "account",
                      "value": "{{account}}",
                      "disabled": true
                    },
                    {
                      "key": "name",
                      "value": "{{name}}",
                      "disabled": true
                    },
                    {
                      "key": "originType",
                      "value": "{{originType}}",
                      "disabled": true
                    },
                    {
                      "key": "rejectSource",
                      "value": "{{rejectSource}}",
                      "disabled": true
                    },
                    {
                      "key": "routeCode",
                      "value": "{{routeCode}}",
                      "disabled": true
                    },
                    {
                      "key": "bucket",
                      "value": "{{bucket}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "與page同scope與filters的單一snapshot：all與PENDING_APPROVAL／AWAITING_DISPATCH／PENDING_CH_ACTION／PENDING_BO_REVIEW／COMPLETED筆數，current可見列的各bucket加總=all；Gateway僅因historical attempt可見的列只入all，此時bucket加總小於all；Prefix為own-Agent全數。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/WithdrawalOrderWorkspaceController.java\n\nPolicy：SUPPLY_WITHDRAWAL_WORKSPACE:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/withdrawalOrders/{id} — 取得 Withdrawal 明細",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/withdrawalOrders/{{id}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "withdrawalOrders",
                    "{{id}}"
                  ],
                  "query": []
                },
                "description": "Historical只回自身immutable attempt，不揭露current owner／version／remark／actions。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/WithdrawalOrderWorkspaceController.java\n\nPolicy：SUPPLY_WITHDRAWAL_WORKSPACE:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/withdrawalOrders/{id}/evidence — 讀取 Withdrawal 存證",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/withdrawalOrders/{{id}}/evidence",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "withdrawalOrders",
                    "{{id}}",
                    "evidence"
                  ],
                  "query": [
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "Current Gateway僅自身attempt；Prefix／historical沒有proof或evidence authority。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/WithdrawalOrderWorkspaceController.java\n\nPolicy：SUPPLY_WITHDRAWAL_WORKSPACE:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET /bo/v2/withdrawalOrders/export — 匯出 Withdrawal CSV",
              "request": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/bo/v2/withdrawalOrders/export",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bo",
                    "v2",
                    "withdrawalOrders",
                    "export"
                  ],
                  "query": [
                    {
                      "key": "pageNumber",
                      "value": "{{pageNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "pageSize",
                      "value": "{{pageSize}}",
                      "disabled": true
                    },
                    {
                      "key": "agentId",
                      "value": "{{agentId}}",
                      "disabled": true
                    },
                    {
                      "key": "supplierId",
                      "value": "{{supplierId}}",
                      "disabled": true
                    },
                    {
                      "key": "gatewayId",
                      "value": "{{gatewayId}}",
                      "disabled": true
                    },
                    {
                      "key": "orderNo",
                      "value": "{{orderNo}}",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "{{status}}",
                      "disabled": true
                    },
                    {
                      "key": "hasBoRemark",
                      "value": "{{hasBoRemark}}",
                      "disabled": true
                    },
                    {
                      "key": "from",
                      "value": "{{from}}",
                      "disabled": true
                    },
                    {
                      "key": "until",
                      "value": "{{until}}",
                      "disabled": true
                    },
                    {
                      "key": "currencyId",
                      "value": "{{currencyId}}",
                      "disabled": true
                    },
                    {
                      "key": "bankCode",
                      "value": "{{bankCode}}",
                      "disabled": true
                    },
                    {
                      "key": "account",
                      "value": "{{account}}",
                      "disabled": true
                    },
                    {
                      "key": "name",
                      "value": "{{name}}",
                      "disabled": true
                    },
                    {
                      "key": "originType",
                      "value": "{{originType}}",
                      "disabled": true
                    },
                    {
                      "key": "rejectSource",
                      "value": "{{rejectSource}}",
                      "disabled": true
                    },
                    {
                      "key": "routeCode",
                      "value": "{{routeCode}}",
                      "disabled": true
                    },
                    {
                      "key": "bucket",
                      "value": "{{bucket}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "Page同scope／projection／sort；formula escape，安全Audit成功commit後才交付bytes。\n\n來源：spay4-bo/src/main/java/com/sit/spay4/supply/controller/WithdrawalOrderWorkspaceController.java\n\nPolicy：SUPPLY_WITHDRAWAL_WORKSPACE:VIEW\n\nRead-only request。\n\n此為 source inventory；conditional controller 必須仍通過既有 catalog/release gate，列入 collection 不代表 runtime-ready 或已部署。",
                "auth": {
                  "type": "bearer",
                  "bearer": [
                    {
                      "key": "token",
                      "value": "{{bearerToken}}",
                      "type": "string"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Operations",
      "item": [
        {
          "name": "Read",
          "item": [
            {
              "name": "GET /actuator/health — Health",
              "request": {
                "method": "GET",
                "auth": {
                  "type": "noauth"
                },
                "header": [],
                "url": "{{managementBaseUrl}}/actuator/health",
                "description": "Operations health endpoint；No Auth。只在獨立 management port（預設綁 loopback，#456）。"
              },
              "response": []
            },
            {
              "name": "GET /actuator/info — Info",
              "request": {
                "method": "GET",
                "auth": {
                  "type": "noauth"
                },
                "header": [],
                "url": "{{managementBaseUrl}}/actuator/info",
                "description": "Operations info endpoint；No Auth。只在獨立 management port（預設綁 loopback，#456）。"
              },
              "response": []
            }
          ]
        }
      ]
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": ""
    },
    {
      "key": "managementBaseUrl",
      "value": ""
    },
    {
      "key": "bearerToken",
      "value": ""
    }
  ]
}
